aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/database.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/database.txx b/odb/database.txx
index 7683d50..7e2154f 100644
--- a/odb/database.txx
+++ b/odb/database.txx
@@ -80,7 +80,7 @@ namespace odb
typedef typename object_traits<T>::object_type object_type;
typedef object_traits_impl<object_type, DB> object_traits;
- multiple_exceptions mex;
+ multiple_exceptions mex (typeid (object_already_persistent));
try
{
while (b != e)