diff --git a/src/Primitives/Plane.cpp b/src/Primitives/Plane.cpp index a29f01afd..9ec09ef35 100644 --- a/src/Primitives/Plane.cpp +++ b/src/Primitives/Plane.cpp @@ -31,7 +31,7 @@ namespace Magnum { namespace Primitives { Trade::MeshData3D Plane::solid(const TextureCoords textureCoords) { std::vector> coords; - if(textureCoords == TextureCoords::Generate) coords.push_back({ + if(textureCoords == TextureCoords::Generate) coords.push_back(std::vector{ {1.0f, 0.0f}, {1.0f, 1.0f}, {0.0f, 0.0f}, diff --git a/src/Primitives/Square.cpp b/src/Primitives/Square.cpp index a45455e2c..cf85035e3 100644 --- a/src/Primitives/Square.cpp +++ b/src/Primitives/Square.cpp @@ -31,7 +31,7 @@ namespace Magnum { namespace Primitives { Trade::MeshData2D Square::solid(const TextureCoords textureCoords) { std::vector> coords; - if(textureCoords == TextureCoords::Generate) coords.push_back({ + if(textureCoords == TextureCoords::Generate) coords.push_back(std::vector{ {1.0f, 0.0f}, {1.0f, 1.0f}, {0.0f, 0.0f},