From 23bdd06c5ec17206d2dfb75ad55b3c613921dce7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Sep 2010 20:14:08 +0200 Subject: Rename begin_transaction() to begin() --- common/auto/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/auto') 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 o1 (db->load (id1)); auto_ptr o2 (db->load (id2)); auto_ptr o3 (db->load (id3)); -- cgit v1.1