aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/driver.cxx2
1 files changed, 1 insertions, 1 deletions
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 ();
}