aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-19 11:51:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-19 11:51:17 +0200
commit498a16e4f63e12ba3d3ddb365e066d5ce885a8de (patch)
treea63a1c263c75d8091f19a0ad439877d896040b3d
parent1dc0c8b8afd298c913c8d579b8a87f86d0cf4b55 (diff)
Implement bulk API code generation
-rw-r--r--odb/database.txx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/database.txx b/odb/database.txx
index 7e2154f..81791db 100644
--- a/odb/database.txx
+++ b/odb/database.txx
@@ -91,7 +91,7 @@ namespace odb
for (; b != e && n < object_traits::batch; ++n)
a[n] = &(*b++);
- object_traits::persist (*this, a, n, &mex);
+ object_traits::persist (*this, a, n, mex);
if (mex.fatal ())
break;
@@ -174,7 +174,7 @@ namespace odb
a[n] = &pointer_traits<pointer_type>::get_ref (*p[n].ref);
}
- object_traits::persist (*this, a, n, &mex);
+ object_traits::persist (*this, a, n, mex);
if (mex.fatal ())
break;
@@ -294,7 +294,7 @@ namespace odb
for (; b != e && n < object_traits::batch; ++n)
a[n] = &opt::get_ref (*b++);
- object_traits::update (*this, a, n, &mex);
+ object_traits::update (*this, a, n, mex);
if (mex.fatal ())
break;
@@ -358,7 +358,7 @@ namespace odb
//
a[n] = &(*b++);
- object_traits::erase (*this, a, n, &mex);
+ object_traits::erase (*this, a, n, mex);
if (mex.fatal ())
break;
@@ -413,7 +413,7 @@ namespace odb
for (; b != e && n < object_traits::batch; ++n)
a[n] = &opt::get_ref (*b++);
- object_traits::erase (*this, a, n, &mex);
+ object_traits::erase (*this, a, n, mex);
if (mex.fatal ())
break;