diff options
Diffstat (limited to 'common/auto/driver.cxx')
-rw-r--r-- | common/auto/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/auto/driver.cxx b/common/auto/driver.cxx index 4a65725..d912ad9 100644 --- a/common/auto/driver.cxx +++ b/common/auto/driver.cxx @@ -34,7 +34,7 @@ main (int argc, char* argv[]) object o2 ("two"); object o3 ("three"); - transaction t (db->begin_transaction ()); + transaction t (db->begin ()); db->persist (o1); db->persist (o2); db->persist (o3); @@ -50,7 +50,7 @@ main (int argc, char* argv[]) } { - transaction t (db->begin_transaction ()); + transaction t (db->begin ()); auto_ptr<object> o1 (db->load<object> (id1)); auto_ptr<object> o2 (db->load<object> (id2)); auto_ptr<object> o3 (db->load<object> (id3)); |