From c0617663b1a7be4b205d59a96df4112d3101ae98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 19 Nov 2012 21:28:09 +0100 Subject: [PATCH] GCC 4.5 compatibility: no forward declarations for enums. --- src/SceneGraph/SceneGraph.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SceneGraph/SceneGraph.h b/src/SceneGraph/SceneGraph.h index d6a5337f0..895ae3215 100644 --- a/src/SceneGraph/SceneGraph.h +++ b/src/SceneGraph/SceneGraph.h @@ -25,7 +25,9 @@ namespace Magnum { namespace SceneGraph { +#ifndef CORRADE_GCC45_COMPATIBILITY enum class AspectRatioPolicy: std::uint8_t; +#endif template class AbstractCamera; #ifndef MAGNUM_GCC46_COMPATIBILITY @@ -51,7 +53,9 @@ template using AbstractObject2D = AbstractObject<2, T>; template using AbstractObject3D = AbstractObject<3, T>; #endif +#ifndef CORRADE_GCC45_COMPATIBILITY enum class TransformationType: std::uint8_t; +#endif template class AbstractTransformation; #ifndef MAGNUM_GCC46_COMPATIBILITY