From 4ecaf6e91c2f1107f855c93fc2e0e4efb03c4cb0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 20 Sep 2010 14:47:07 +0200 Subject: Rename store() to update() --- odb/database.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/database.txx') diff --git a/odb/database.txx b/odb/database.txx index 86336ea..f5449b6 100644 --- a/odb/database.txx +++ b/odb/database.txx @@ -64,12 +64,12 @@ namespace odb template void database:: - store (T& obj) + update (T& obj) { if (!transaction::has_current ()) throw not_in_transaction (); - object_traits::store (*this, obj); + object_traits::update (*this, obj); } template -- cgit v1.1