aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-11 13:10:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-11 13:10:15 +0200
commit7c1756cacfff6e8e9c19d1aa8477447bc2c02805 (patch)
treee466a42a697ed0aa0e5b5c93e7f0f89365816910
parentb0700a1895268de34afb11a67c39434ed87ec36f (diff)
QList::swap(Qlist) is only available since Qt 4.8
-rw-r--r--qt/common/containers/change-tracking/driver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt/common/containers/change-tracking/driver.cxx b/qt/common/containers/change-tracking/driver.cxx
index 05f885f..c77947f 100644
--- a/qt/common/containers/change-tracking/driver.cxx
+++ b/qt/common/containers/change-tracking/driver.cxx
@@ -558,6 +558,7 @@ main (int argc, char* argv[])
// Armed swap.
//
+#if QT_VERSION >= 0x040800
{
object c (o);
@@ -588,6 +589,7 @@ main (int argc, char* argv[])
t.commit ();
}
}
+#endif
// Armed move.
//