aboutsummaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-26 11:29:05 +0200
commit61ff4c0458fa0362e054970efbcc21d66240ccc9 (patch)
tree1a3376fce2d9a2f79583911529549c333fff23ea /boost
parenta93ad74833e3a99a1421fd695a01a1fb15d1f2dd (diff)
Make session optional
Diffstat (limited to 'boost')
-rw-r--r--boost/common/smart-ptr/driver.cxx1
-rw-r--r--boost/common/smart-ptr/makefile2
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) \