From 8ce82c7b864d7299008dd413417a5823a7d747f5 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() --- template/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template') diff --git a/template/driver.cxx b/template/driver.cxx index a5b5714..387035d 100644 --- a/template/driver.cxx +++ b/template/driver.cxx @@ -26,7 +26,7 @@ main (int argc, char* argv[]) { person p ("John", "Doe", 21); - transaction t (db->begin_transaction ()); + transaction t (db->begin ()); db->persist (p); t.commit (); } -- cgit v1.1