summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/functions/qsequencegeneratingfns.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-19 12:03:49 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-21 13:21:22 (GMT)
commit9317e521f0b0f689c87b95b927102dbf55edb89f (patch)
treea49c2aa5eda50f84796e327db0416654832c9a5d /src/xmlpatterns/functions/qsequencegeneratingfns.cpp
parent4278109e1f6cca83e687977db55b193ef4f7fcd7 (diff)
downloadQt-9317e521f0b0f689c87b95b927102dbf55edb89f.zip
Qt-9317e521f0b0f689c87b95b927102dbf55edb89f.tar.gz
Qt-9317e521f0b0f689c87b95b927102dbf55edb89f.tar.bz2
Fix compilation with xlC 7: the compiler tries to expand qIsForwardIteratorEnd with QString
This is used in other places too, so move the definition to the header. Reviewed-By: Trust Me
Diffstat (limited to 'src/xmlpatterns/functions/qsequencegeneratingfns.cpp')
-rw-r--r--src/xmlpatterns/functions/qsequencegeneratingfns.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/xmlpatterns/functions/qsequencegeneratingfns.cpp b/src/xmlpatterns/functions/qsequencegeneratingfns.cpp
index 81724f8..e3f30c5 100644
--- a/src/xmlpatterns/functions/qsequencegeneratingfns.cpp
+++ b/src/xmlpatterns/functions/qsequencegeneratingfns.cpp
@@ -69,19 +69,6 @@ Item IdFN::mapToItem(const QString &id,
}
/**
- * @short Helper class for StringSplitter
- *
- * Needed by the QAbstractXmlForwardIterator sub-class.
- *
- * @relates StringSplitter
- */
-template<>
-bool qIsForwardIteratorEnd(const QString &unit)
-{
- return unit.isNull();
-}
-
-/**
* @short Helper class for IdFN.
*
* StringSplitter takes an Iterator which delivers strings of this kind: