diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-20 14:47:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-20 14:47:07 +0200 |
commit | 0964f353f05cbc6040e233fe955931aaefc66200 (patch) | |
tree | d04ff2a6718cf403d18c863129f48304b9862fbc /hello | |
parent | 9cfb5dcf71a5cb40b0b2fa6e7b8b633ba0ed5336 (diff) |
Rename store() to update()
Diffstat (limited to 'hello')
-rw-r--r-- | hello/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hello/driver.cxx b/hello/driver.cxx index b14ced8..348efdb 100644 --- a/hello/driver.cxx +++ b/hello/driver.cxx @@ -72,7 +72,7 @@ main (int argc, char* argv[]) auto_ptr<person> joe (db->load<person> (joe_id)); joe->age (joe->age () + 1); - db->store (*joe); + db->update (*joe); t.commit (); } @@ -92,7 +92,7 @@ main (int argc, char* argv[]) { auto_ptr<person> joe (*i); joe->age (joe->age () + 1); - db->store (*joe); + db->update (*joe); } t.commit (); |