diff options
Diffstat (limited to 'odb/qt/containers/list.hxx')
-rw-r--r-- | odb/qt/containers/list.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/qt/containers/list.hxx b/odb/qt/containers/list.hxx index c5f385f..5cd7168 100644 --- a/odb/qt/containers/list.hxx +++ b/odb/qt/containers/list.hxx @@ -8,6 +8,7 @@ #include <odb/pre.hxx> #include <odb/details/config.hxx> // ODB_CXX11 +#include <QtCore/QtGlobal> // QT_VERSION #include <QtCore/QList> #ifdef ODB_CXX11 @@ -39,7 +40,10 @@ public: QOdbList(const QOdbList &x): vector_base (x), l_ (x.l_) {} // ~QOdbList(); QOdbList &operator=(const QOdbList &l); + +#if QT_VERSION >= 0x040800 void swap(QOdbList &other); +#endif #ifdef ODB_CXX11 QOdbList(QOdbList &&x): vector_base (std::move (x)), l_ (std::move (x.l_)) {} |