From 1f6d41343e1eb7ae6de5be77060fd104099b007d Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 29 Jan 2012 10:09:49 +0100 Subject: 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 Reviewed-by: Daniel Molkentin --- src/xmlpatterns/schema/qxsdstatemachine.cpp | 6 ++++++ src/xmlpatterns/schema/qxsdstatemachine_p.h | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/xmlpatterns/schema') 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::StateId, typename XsdStateMachin { return m_states; } + +template +QHash::StateId, QHash::StateId> > > XsdStateMachine::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 > > transitions() const - { - return m_transitions; - } + QHash > > transitions() const; private: /** -- cgit v1.2.1