diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-26 11:29:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-26 11:29:05 +0200 |
commit | 61ff4c0458fa0362e054970efbcc21d66240ccc9 (patch) | |
tree | 1a3376fce2d9a2f79583911529549c333fff23ea /boost | |
parent | a93ad74833e3a99a1421fd695a01a1fb15d1f2dd (diff) |
Make session optional
Diffstat (limited to 'boost')
-rw-r--r-- | boost/common/smart-ptr/driver.cxx | 1 | ||||
-rw-r--r-- | boost/common/smart-ptr/makefile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/boost/common/smart-ptr/driver.cxx b/boost/common/smart-ptr/driver.cxx index cc6490d..906efa2 100644 --- a/boost/common/smart-ptr/driver.cxx +++ b/boost/common/smart-ptr/driver.cxx @@ -10,6 +10,7 @@ #include <iostream> #include <odb/database.hxx> +#include <odb/session.hxx> #include <odb/transaction.hxx> #include <common/common.hxx> diff --git a/boost/common/smart-ptr/makefile b/boost/common/smart-ptr/makefile index 920d3b3..51ef93e 100644 --- a/boost/common/smart-ptr/makefile +++ b/boost/common/smart-ptr/makefile @@ -44,7 +44,7 @@ gen := $(addprefix $(out_base)/,$(genf)) $(gen): $(odb) $(gen): odb := $(odb) $(gen) $(dist): export odb_options += --database $(db_id) \ ---profile boost/smart-ptr --generate-schema \ +--profile boost/smart-ptr --generate-schema --generate-session \ --table-prefix boost_smart_ptr_ $(gen): cpp_options := -I$(src_base) $(gen): $(common.l.cpp-options) $(odb_boost.l.cpp-options) \ |