From 3b63c05dbbd64db3ebc793cf8eb9003dacfd4cba Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Apr 2013 07:34:35 +0200 Subject: Add default constructor, finalized() accessor to transaction --- odb/transaction.ixx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'odb/transaction.ixx') diff --git a/odb/transaction.ixx b/odb/transaction.ixx index 445478b..33d107b 100644 --- a/odb/transaction.ixx +++ b/odb/transaction.ixx @@ -7,6 +7,15 @@ namespace odb { inline transaction:: + transaction () + : finalized_ (true), + impl_ (0), + free_callback_ (max_callback_count), + callback_count_ (0) + { + } + + inline transaction:: transaction (transaction_impl* impl, bool make_current) : finalized_ (true), impl_ (0), -- cgit v1.1