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.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/vector-impl.hxx') diff --git a/odb/vector-impl.hxx b/odb/vector-impl.hxx index a6be505..38c64aa 100644 --- a/odb/vector-impl.hxx +++ b/odb/vector-impl.hxx @@ -192,7 +192,7 @@ namespace odb protected: vector_base (): tran_ (0) {} - ~vector_base () {if (tran_ != 0) tran_->unregister (this);} + ~vector_base () {if (tran_ != 0) tran_->callback_unregister (this);} vector_base (const vector_base&); #ifdef ODB_CXX11 -- cgit v1.1