aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-05-16 23:42:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-05-16 23:42:28 +0200
commit208f464e058974ea2c27ded655aaf4f88825d46a (patch)
tree5433bd34ca630cf412d66229e7cfdc6cc2f49f2d
parent54f2babfab390b17d3fe08a962f8d0e556a5239c (diff)
Provide manual move constructor implementation for VS2013
-rw-r--r--odb/database.hxx13
1 files changed, 12 insertions, 1 deletions
diff --git a/odb/database.hxx b/odb/database.hxx
index 510b28b..adeb83a 100644
--- a/odb/database.hxx
+++ b/odb/database.hxx
@@ -47,7 +47,18 @@ namespace odb
~database ();
#ifdef ODB_CXX11
- database (database&&) = default;
+ //database (database&&) = default; // VC 2013
+
+ database (database&& d)
+ : id_ (d.id_),
+ tracer_ (d.tracer_),
+ query_factory_map_ (std::move (d.query_factory_map_)),
+ mutex_ (std::move (d.mutex_)),
+ schema_version_map_ (std::move (d.schema_version_map_)),
+ schema_version_table_ (std::move (d.schema_version_table_)),
+ schema_version_seq_ (d.schema_version_seq_)
+ {
+ }
#endif
private: