diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-08 12:55:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-08 12:55:28 +0200 |
commit | 9502ebbff304fdd970cbbe3d3e7847851ca89141 (patch) | |
tree | a7cd28cd47ded6c7c7911c53fce7ca0b5b37475e /odb/vector-impl.ixx | |
parent | 26cddc7f0a682d6dcedd3880fee09ab4a21dbe21 (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.ixx | 10 |
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:: |