summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2010-04-19 15:40:08 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-04-21 11:31:52 (GMT)
commitf5c69bbf9be4ae1d1e594aafa39c18f85025c141 (patch)
tree75ac47cc6dc33ede5aba710551b4f6591fa65bb1
parentbfd0fa7a333088b4846b0303ab8cbb08773b7ecd (diff)
downloadQt-f5c69bbf9be4ae1d1e594aafa39c18f85025c141.zip
Qt-f5c69bbf9be4ae1d1e594aafa39c18f85025c141.tar.gz
Qt-f5c69bbf9be4ae1d1e594aafa39c18f85025c141.tar.bz2
WINSCW compiler fix, too eager to solve inlines
WINSCW tries immediately solve inlines causing forward declared classes to be used before they are defined. Reviewed-by: Simon Hausmann (cherry picked from commit 0d1739197015a651b88d710c9c961eb0f20278f9)
-rw-r--r--src/3rdparty/webkit/WebCore/svg/SVGAnimatedPropertySynchronizer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/WebCore/svg/SVGAnimatedPropertySynchronizer.h b/src/3rdparty/webkit/WebCore/svg/SVGAnimatedPropertySynchronizer.h
index ddd0493..695b71e 100644
--- a/src/3rdparty/webkit/WebCore/svg/SVGAnimatedPropertySynchronizer.h
+++ b/src/3rdparty/webkit/WebCore/svg/SVGAnimatedPropertySynchronizer.h
@@ -41,13 +41,15 @@ struct GetOwnerElementForType<OwnerType, true> : public Noncopyable {
template<typename OwnerType>
struct GetOwnerElementForType<OwnerType, false> : public Noncopyable {
- static SVGElement* ownerElement(OwnerType* type)
+ static SVGElement* ownerElement(OwnerType* type);
+};
+template<typename OwnerType>
+SVGElement* GetOwnerElementForType<OwnerType, false>::ownerElement(OwnerType* type)
{
SVGElement* context = type->contextElement();
ASSERT(context);
return context;
}
-};
// IsDerivedFromSVGElement implementation
template<typename OwnerType>