Browse Source

GCC 4.5 compatibility: Probably can't use initializer list here.

Vladimír Vondruš 14 years ago
parent
commit
81cdc339f7
  1. 2
      src/Physics/Test/AbstractShapeTest.h

2
src/Physics/Test/AbstractShapeTest.h

@ -24,7 +24,7 @@ namespace Magnum { namespace Physics { namespace Test {
class AbstractShapeTest: public QObject { class AbstractShapeTest: public QObject {
protected: protected:
template<class T> void randomTransformation(T& shape) { template<class T> void randomTransformation(T& shape) {
shape.applyTransformation(Matrix4::translation({7.0f, 8.0f, -9.0f})); shape.applyTransformation(Matrix4::translation(Vector3(7.0f, 8.0f, -9.0f)));
} }
}; };

Loading…
Cancel
Save