aboutsummaryrefslogtreecommitdiff
path: root/odb/database.txx
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
commit4ecaf6e91c2f1107f855c93fc2e0e4efb03c4cb0 (patch)
treeab8653c349c5d2b459278cdd77ff5a3249ad643f /odb/database.txx
parent1be330551017742b923b324ea4534e592f43397e (diff)
Rename store() to update()
Diffstat (limited to 'odb/database.txx')
-rw-r--r--odb/database.txx4
1 files changed, 2 insertions, 2 deletions
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 <typename T>
void database::
- store (T& obj)
+ update (T& obj)
{
if (!transaction::has_current ())
throw not_in_transaction ();
- object_traits<T>::store (*this, obj);
+ object_traits<T>::update (*this, obj);
}
template <typename T>