Index: source/graphics/tests/test_Camera.h =================================================================== --- source/graphics/tests/test_Camera.h +++ source/graphics/tests/test_Camera.h @@ -164,12 +164,12 @@ TS_ASSERT_EQUALS(point, CVector3D(0.0f, 0.0f, 0.0f)); // Points lying on the far plane. - CCamera::Quad expectedFarQuad = { + CCamera::Quad expectedFarQuad = { { CVector3D(-101.0f, -101.0f, 101.0f), CVector3D(101.0f, -101.0f, 101.0f), CVector3D(101.0f, 101.0f, 101.0f), CVector3D(-101.0f, 101.0f, 101.0f) - }; + } }; camera.GetViewQuad(camera.GetFarPlane(), quad); CompareQuads(quad, expectedFarQuad); } Index: source/simulation2/scripting/JSInterface_Simulation.cpp =================================================================== --- source/simulation2/scripting/JSInterface_Simulation.cpp +++ source/simulation2/scripting/JSInterface_Simulation.cpp @@ -151,12 +151,12 @@ if (halfSize.X.IsZero() || halfSize.Y.IsZero() || std::max(halfSize.X, halfSize.Y) <= fixed::FromInt(2)) continue; - std::array corners = { + std::array corners = { { CFixedVector2D(-halfSize.X, -halfSize.Y), CFixedVector2D(-halfSize.X, halfSize.Y), halfSize, CFixedVector2D(halfSize.X, -halfSize.Y) - }; + } }; fixed angle = cmpPosition->GetRotation().Y; for (CFixedVector2D& corner : corners) corner = corner.Rotate(angle) + cmpPosition->GetPosition2D(); Index: source/simulation2/tests/test_SerializeTemplates.h =================================================================== --- source/simulation2/tests/test_SerializeTemplates.h +++ source/simulation2/tests/test_SerializeTemplates.h @@ -35,9 +35,9 @@ std::stringstream stream; CDebugSerializer serialize(script, stream); - std::array value = { + std::array value = { { 3, 0, 1, 4, 1, 5 - }; + } }; SerializeArray()(serialize, "E", value); TS_ASSERT_STR_EQUALS(stream.str(), "E: 3\nE: 0\nE: 1\nE: 4\nE: 1\nE: 5\n"); } @@ -48,9 +48,9 @@ std::stringstream stream; CDebugSerializer serialize(script, stream); - std::vector value = { + std::vector value = { { 3, 0, 1, 4, 1, 5 - }; + } }; SerializeVector()(serialize, "E", value); TS_ASSERT_STR_EQUALS(stream.str(), "length: 6\nE: 3\nE: 0\nE: 1\nE: 4\nE: 1\nE: 5\n"); } @@ -61,9 +61,9 @@ std::stringstream stream; CDebugSerializer serialize(script, stream); - std::set value = { + std::set value = { { 3, 0, 1, 4, 1, 5 - }; + } }; SerializeSet()(serialize, "E", value); TS_ASSERT_STR_EQUALS(stream.str(), "size: 5\nE: 0\nE: 1\nE: 3\nE: 4\nE: 5\n"); }