From 2a6f06ae44a80a5ebdc1b6188b11634fbb0e8741 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 7 Feb 2015 13:51:23 +0200 Subject: Fix to use traditional const style --- common/callback/driver.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/callback') diff --git a/common/callback/driver.cxx b/common/callback/driver.cxx index b85729c..8cc918d 100644 --- a/common/callback/driver.cxx +++ b/common/callback/driver.cxx @@ -115,7 +115,7 @@ main (int argc, char* argv[]) o1->data++; o2->data++; db->update (o1.get ()); - db->update (static_cast (*o2)); + db->update (static_cast (*o2)); t.commit (); } cout << "***" << endl; @@ -127,7 +127,7 @@ main (int argc, char* argv[]) transaction t (db->begin ()); auto_ptr o1 (db->load (1)); auto_ptr o2 (db->load (2)); - db->erase (static_cast (o1.get ())); + db->erase (static_cast (o1.get ())); db->erase (*o2); t.commit (); } -- cgit v1.1