aboutsummaryrefslogtreecommitdiff
path: root/bpkg/odb.sh
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-01 19:20:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-02 20:22:21 +0300
commit8741fa1d4555aaf17b08fd478a2bd2fb798756f0 (patch)
tree6c7c498b308c2a5071d25ce8acd804d637658caa /bpkg/odb.sh
parent5d81c755c77ab6b182ab713de29826bace79f466 (diff)
Use butl::small_vector instead of std::vector in persistent classes where it makes sense
Diffstat (limited to 'bpkg/odb.sh')
-rwxr-xr-xbpkg/odb.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bpkg/odb.sh b/bpkg/odb.sh
index 72753fa..0c8ae1b 100755
--- a/bpkg/odb.sh
+++ b/bpkg/odb.sh
@@ -43,7 +43,9 @@ fi
$odb "${inc[@]}" \
-DLIBODB_BUILD2 -DLIBODB_SQLITE_BUILD2 --generate-schema \
-d sqlite --std c++14 --generate-query \
+ --odb-epilogue '#include <libbutl/small-vector-odb.hxx>' \
--odb-epilogue '#include <bpkg/wrapper-traits.hxx>' \
+ --hxx-prologue '#include <libbutl/small-vector-odb.hxx>' \
--hxx-prologue '#include <bpkg/wrapper-traits.hxx>' \
--hxx-prologue '#include <bpkg/value-traits.hxx>' \
--include-with-brackets --include-prefix bpkg --guard-prefix BPKG \