diff options
author | Janne Koskinen <janne.p.koskinen@digia.com> | 2010-04-19 15:40:08 (GMT) |
---|---|---|
committer | Janne Koskinen <janne.p.koskinen@digia.com> | 2010-04-19 17:32:21 (GMT) |
commit | 0d1739197015a651b88d710c9c961eb0f20278f9 (patch) | |
tree | a641b9e3c6a198aed3de668e2629dbc721408a1b /src/3rdparty | |
parent | 07aa94196e5ab6827099c683c0be96edbc62e6c0 (diff) | |
download | Qt-0d1739197015a651b88d710c9c961eb0f20278f9.zip Qt-0d1739197015a651b88d710c9c961eb0f20278f9.tar.gz Qt-0d1739197015a651b88d710c9c961eb0f20278f9.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
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/webkit/WebCore/svg/SVGAnimatedPropertySynchronizer.h | 6 |
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> |