diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-29 17:50:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-02-29 17:50:01 +0200 |
commit | 0533fe8d1a3d14c36be5349bd5ed630727d899c7 (patch) | |
tree | e810cd8e8703d76c33e8a85702e2d87dc8beb412 /odb/qt/containers/qmap-traits.hxx | |
parent | 35a98e771162c0801bc85fc9d12152a23d0216e4 (diff) |
Use move instead of copy in container traits if C++11 is available
Diffstat (limited to 'odb/qt/containers/qmap-traits.hxx')
-rw-r--r-- | odb/qt/containers/qmap-traits.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/qt/containers/qmap-traits.hxx b/odb/qt/containers/qmap-traits.hxx index b9aed9d..e9c422c 100644 --- a/odb/qt/containers/qmap-traits.hxx +++ b/odb/qt/containers/qmap-traits.hxx @@ -46,7 +46,7 @@ namespace odb key_type k; value_type v; more = f.load_all (k, v); - c.insert (k, v); + c.insert (k, v); //@@ Use std::move in C++11. } } @@ -102,7 +102,7 @@ namespace odb key_type k; value_type v; more = f.load_all (k, v); - c.insert (k, v); + c.insert (k, v); //@@ Use std::move in C++11. } } |