aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:14:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:14:08 +0200
commitf68dfee37ed94636e63286c81e8828387356fc61 (patch)
treed75f6db36c64b68465714fd5c168dacac9f861ab
parentf12bd8448160f46e644cbac4fa92879f9dbdbe7a (diff)
Rename begin_transaction() to begin()
-rw-r--r--odb/tracer/database.cxx2
-rw-r--r--odb/tracer/database.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/tracer/database.cxx b/odb/tracer/database.cxx
index 74a87f2..33002ff 100644
--- a/odb/tracer/database.cxx
+++ b/odb/tracer/database.cxx
@@ -16,7 +16,7 @@ namespace odb
}
transaction_impl* database::
- begin_transaction ()
+ begin ()
{
if (odb::transaction::has_current ())
throw already_in_transaction ();
diff --git a/odb/tracer/database.hxx b/odb/tracer/database.hxx
index 963eb7a..90d6b65 100644
--- a/odb/tracer/database.hxx
+++ b/odb/tracer/database.hxx
@@ -24,7 +24,7 @@ namespace odb
~database ();
virtual transaction_impl*
- begin_transaction ();
+ begin ();
};
}
}