aboutsummaryrefslogtreecommitdiff
path: root/hello/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:47:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:47:07 +0200
commit0964f353f05cbc6040e233fe955931aaefc66200 (patch)
treed04ff2a6718cf403d18c863129f48304b9862fbc /hello/driver.cxx
parent9cfb5dcf71a5cb40b0b2fa6e7b8b633ba0ed5336 (diff)
Rename store() to update()
Diffstat (limited to 'hello/driver.cxx')
-rw-r--r--hello/driver.cxx4
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 ();