From 33c8b712edde86572443a0200169262240d2d974 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Apr 2012 16:45:23 +0200 Subject: Add database::reset() --- odb/transaction.ixx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'odb/transaction.ixx') diff --git a/odb/transaction.ixx b/odb/transaction.ixx index ad614af..6c6c3c1 100644 --- a/odb/transaction.ixx +++ b/odb/transaction.ixx @@ -6,6 +6,13 @@ namespace odb { + inline transaction:: + transaction (transaction_impl* impl, bool make_current) + : finalized_ (true), impl_ (0) + { + reset (impl, make_current); + } + inline transaction::database_type& transaction:: database () { -- cgit v1.1