summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/schema
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-01-29 10:09:49 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-31 06:30:35 +0100
commit1f6d41343e1eb7ae6de5be77060fd104099b007d (patch)
tree3a48d6313a8ad6687b44cdfba7f6859e7e53c4ef /src/xmlpatterns/schema
parent4a1a84749a01581a7126240e5733e88c95783188 (diff)
downloadqtxmlpatterns-1f6d41343e1eb7ae6de5be77060fd104099b007d.tar.gz
Make method non-inline as Symbian support is gone.
The comment mentions that this method is inlined to work around a compiler bug. We do not support this compiler anymore, move the definition back to the .cpp file. Change-Id: I0052b0616bdd997fd35b3b544563c07f865e66c5 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Diffstat (limited to 'src/xmlpatterns/schema')
-rw-r--r--src/xmlpatterns/schema/qxsdstatemachine.cpp6
-rw-r--r--src/xmlpatterns/schema/qxsdstatemachine_p.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/xmlpatterns/schema/qxsdstatemachine.cpp b/src/xmlpatterns/schema/qxsdstatemachine.cpp
index aa6d873..0dbf1d2 100644
--- a/src/xmlpatterns/schema/qxsdstatemachine.cpp
+++ b/src/xmlpatterns/schema/qxsdstatemachine.cpp
@@ -411,3 +411,9 @@ QHash<typename XsdStateMachine<TransitionType>::StateId, typename XsdStateMachin
{
return m_states;
}
+
+template <typename TransitionType>
+QHash<typename XsdStateMachine<TransitionType>::StateId, QHash<TransitionType, QVector<typename XsdStateMachine<TransitionType>::StateId> > > XsdStateMachine<TransitionType>::transitions() const
+{
+ return m_transitions;
+}
diff --git a/src/xmlpatterns/schema/qxsdstatemachine_p.h b/src/xmlpatterns/schema/qxsdstatemachine_p.h
index 4198bc9..bb40578 100644
--- a/src/xmlpatterns/schema/qxsdstatemachine_p.h
+++ b/src/xmlpatterns/schema/qxsdstatemachine_p.h
@@ -204,14 +204,8 @@ namespace QPatternist
/**
* Returns the information of all transitions of the state machine.
- *
- * The implementation is inlined in order to workaround a compiler
- * bug on Symbian/winscw.
*/
- QHash<StateId, QHash<TransitionType, QVector<StateId> > > transitions() const
- {
- return m_transitions;
- }
+ QHash<StateId, QHash<TransitionType, QVector<StateId> > > transitions() const;
private:
/**