diff options
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) \ |