From c4ab9e461ffc1acc2063ada2ac1f804102665987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 4 Jun 2013 19:51:08 +0200 Subject: [PATCH] GCC 4.5 compatibility: can't `default` an `explicit` declaration. --- src/Shapes/shapeImplementation.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Shapes/shapeImplementation.h b/src/Shapes/shapeImplementation.h index d90f889e5..05b5dd86f 100644 --- a/src/Shapes/shapeImplementation.h +++ b/src/Shapes/shapeImplementation.h @@ -132,7 +132,7 @@ template struct MAGNUM_SHAPES_EXPORT AbstractShape { template struct Shape: AbstractShape { T shape; - explicit Shape() = default; + explicit Shape(); explicit Shape(const T& shape): shape(shape) {} explicit Shape(T&& shape): shape(std::move(shape)) {} @@ -150,6 +150,8 @@ template struct Shape: AbstractShape { } }; +template Shape::Shape() = default; + }}} #endif