From 3ffac6eb9deee851b5e792127916a1ac7552b2a0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 Feb 2013 13:10:15 +0200 Subject: QList::swap(Qlist) is only available since Qt 4.8 --- odb/qt/containers/list.ixx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odb/qt/containers/list.ixx') diff --git a/odb/qt/containers/list.ixx b/odb/qt/containers/list.ixx index b40d06a..2cbce99 100644 --- a/odb/qt/containers/list.ixx +++ b/odb/qt/containers/list.ixx @@ -48,6 +48,7 @@ operator= (base_list_type&& x) } #endif +#if QT_VERSION >= 0x040800 template inline void QOdbList:: swap (QOdbList& x) @@ -55,6 +56,7 @@ swap (QOdbList& x) l_.swap (x.l_); vector_base::swap (x); } +#endif template inline void QOdbList:: -- cgit v1.1