diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-04-20 16:57:06 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-04-20 16:57:06 +0000 |
commit | 05ec0beb40f5e4e162903570b68837b34811a02d (patch) | |
tree | dd17c8e6b280f76b5121b026cd2173c5aa3b76d9 /src/libstore/local-store.cc | |
parent | 3c220442ffb9c951f42185479d34a1abf8596e9b (diff) |
Move templated functions to `sqlite-impl.hh`
This ensures that use-sites properly trigger new monomorphisations on
one hand, and on the other hand keeps the main `sqlite.hh` clean and
interface-only. I think that is good practice in general, but in this
situation in particular we do indeed have `sqlite.hh` users that don't
need the `throw_` function.
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index ece5bb5ef..42cc30cbf 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -10,6 +10,7 @@ #include "topo-sort.hh" #include "finally.hh" #include "compression.hh" +#include "sqlite-impl.hh" #include <iostream> #include <algorithm> |