From 0533fe8d1a3d14c36be5349bd5ed630727d899c7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Feb 2012 17:50:01 +0200 Subject: Use move instead of copy in container traits if C++11 is available --- odb/qt/containers/qset-traits.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/qt/containers/qset-traits.hxx') diff --git a/odb/qt/containers/qset-traits.hxx b/odb/qt/containers/qset-traits.hxx index cd17537..1d99321 100644 --- a/odb/qt/containers/qset-traits.hxx +++ b/odb/qt/containers/qset-traits.hxx @@ -42,7 +42,7 @@ namespace odb { value_type v; more = f.load_all (v); - c.insert (v); + c.insert (v); //@@ Use std::move in C++11. } } -- cgit v1.1