From 208f464e058974ea2c27ded655aaf4f88825d46a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 May 2016 23:42:28 +0200 Subject: Provide manual move constructor implementation for VS2013 --- odb/database.hxx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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: -- cgit v1.1