diff --git a/src/SceneGraph/FeatureGroup.hpp b/src/SceneGraph/FeatureGroup.hpp index 594fa1302..24f7d8cf8 100644 --- a/src/SceneGraph/FeatureGroup.hpp +++ b/src/SceneGraph/FeatureGroup.hpp @@ -37,7 +37,8 @@ namespace Magnum { namespace SceneGraph { /* `= default` causes linker errors in GCC 4.5 */ template AbstractFeatureGroup::AbstractFeatureGroup() {} -template AbstractFeatureGroup::~AbstractFeatureGroup() = default; +/* `= default` causes linker errors in GCC 4.4 */ +template AbstractFeatureGroup::~AbstractFeatureGroup() {} template void AbstractFeatureGroup::add(AbstractFeature* feature) { features.push_back(feature); diff --git a/src/SceneGraph/Object.hpp b/src/SceneGraph/Object.hpp index 2db462f65..1ebb15e79 100644 --- a/src/SceneGraph/Object.hpp +++ b/src/SceneGraph/Object.hpp @@ -44,7 +44,8 @@ template AbstractObject::~Abstra template AbstractTransformation::AbstractTransformation() {} template AbstractTransformation::~AbstractTransformation() {} -template Object::~Object() = default; +/* `= default` causes linker errors in GCC 4.4 */ +template Object::~Object() {} template Scene* Object::scene() { Object* p(this); diff --git a/src/Shapes/shapeImplementation.cpp b/src/Shapes/shapeImplementation.cpp index df82bbfdd..314dde4f5 100644 --- a/src/Shapes/shapeImplementation.cpp +++ b/src/Shapes/shapeImplementation.cpp @@ -66,7 +66,8 @@ Debug operator<<(Debug debug, ShapeDimensionTraits<3>::Type value) { /* `= default` causes linker errors in GCC 4.5 */ template AbstractShape::AbstractShape() {} -template AbstractShape::~AbstractShape() = default; +/* `= default` causes linker errors in GCC 4.4 */ +template AbstractShape::~AbstractShape() {} template struct AbstractShape<2>; template struct AbstractShape<3>;