From 9387cd5a1d62f7cd47f8d2d21c9d0cff21a59d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 29 Jun 2014 14:39:29 +0200 Subject: [PATCH] GCC 4.5 compatibility: needs explicit type specification. --- src/Magnum/Test/MeshGLTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Test/MeshGLTest.cpp b/src/Magnum/Test/MeshGLTest.cpp index 4749e40bb..f4ae81e95 100644 --- a/src/Magnum/Test/MeshGLTest.cpp +++ b/src/Magnum/Test/MeshGLTest.cpp @@ -1742,7 +1742,8 @@ MultiChecker::MultiChecker(AbstractShaderProgram&& shader, Mesh& mesh): framebuf template T MultiChecker::get(ColorFormat format, ColorType type) { Image2D image(format, type); - framebuffer.read({}, Vector2i(1), image); + /* GCC 4.5 needs explicit type here */ + framebuffer.read(Vector2i{}, Vector2i(1), image); return image.data()[0]; } #endif