[telepathy-qt4/master] Export stl compatibility methods only if QT_NO_STL is not defined.
George Kiagiadakis
gkiagia at users.sourceforge.net
Thu May 28 08:05:53 PDT 2009
Signed-off-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes at collabora.co.uk>
---
TelepathyQt4/referenced-handles.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/referenced-handles.h b/TelepathyQt4/referenced-handles.h
index faf094f..36cc700 100644
--- a/TelepathyQt4/referenced-handles.h
+++ b/TelepathyQt4/referenced-handles.h
@@ -48,7 +48,9 @@
#include <TelepathyQt4/Types>
#include <TelepathyQt4/Types>
-#include <list>
+#ifndef QT_NO_STL
+# include <list>
+#endif
#include <QList>
#include <QSet>
@@ -262,10 +264,12 @@ class ReferencedHandles
return toList().toSet();
}
+#ifndef QT_NO_STL
inline std::list<uint> toStdList() const
{
return toList().toStdList();
}
+#endif
inline QVector<uint> toVector() const
{
--
1.5.6.5
More information about the telepathy-commits
mailing list