From 9502ebbff304fdd970cbbe3d3e7847851ca89141 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Feb 2013 12:55:28 +0200 Subject: Add callback_ prefix to transaction callback functions Also test callback_update(). --- odb/vector-impl.ixx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'odb/vector-impl.ixx') 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 (this), - transaction::event_rollback, - 0, - &tran_); + t.callback_register (&rollback, + const_cast (this), + transaction::event_rollback, + 0, + &tran_); } inline vector_base:: -- cgit v1.1