aboutsummaryrefslogtreecommitdiff
path: root/odb/vector-impl.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-08 12:55:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-08 12:55:28 +0200
commit9502ebbff304fdd970cbbe3d3e7847851ca89141 (patch)
treea7cd28cd47ded6c7c7911c53fce7ca0b5b37475e /odb/vector-impl.ixx
parent26cddc7f0a682d6dcedd3880fee09ab4a21dbe21 (diff)
Add callback_ prefix to transaction callback functions
Also test callback_update().
Diffstat (limited to 'odb/vector-impl.ixx')
-rw-r--r--odb/vector-impl.ixx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/vector-impl.ixx b/odb/vector-impl.ixx
index 5a859c4..c75a128 100644
--- a/odb/vector-impl.ixx
+++ b/odb/vector-impl.ixx
@@ -141,11 +141,11 @@ namespace odb
_arm (transaction& t) const
{
tran_ = &t;
- t.register_ (&rollback,
- const_cast<vector_base*> (this),
- transaction::event_rollback,
- 0,
- &tran_);
+ t.callback_register (&rollback,
+ const_cast<vector_base*> (this),
+ transaction::event_rollback,
+ 0,
+ &tran_);
}
inline vector_base::