summaryrefslogtreecommitdiff
path: root/demos/smoke/Simulation.cpp
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2016-12-29 15:59:06 -0700
committerKarl Schultz <karl@lunarg.com>2017-01-04 08:11:32 -0700
commit3fd7b56f581e8ff20eec82b776d11aa365ccf803 (patch)
tree5adbb7841911b9f270d2a3cc0ccbfd089432bd44 /demos/smoke/Simulation.cpp
parent0f3b6b868dde8bebc6ffb7646db21c122e44c46b (diff)
build: Cleanup warnings when compiling with clang
Travis-CI is building this repo with gcc and clang. This commit fixes warnings reported by clang but not by gcc. All the fixes involved adding an extra set of braces in initializers. Change-Id: I88e7841d9ab13afe2e45362b8f85261863d5b7fa
Diffstat (limited to 'demos/smoke/Simulation.cpp')
-rw-r--r--demos/smoke/Simulation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/smoke/Simulation.cpp b/demos/smoke/Simulation.cpp
index 67cccfb7..36e3f5b6 100644
--- a/demos/smoke/Simulation.cpp
+++ b/demos/smoke/Simulation.cpp
@@ -25,7 +25,7 @@ namespace {
class MeshPicker {
public:
MeshPicker() :
- pattern_({
+ pattern_({{
Meshes::MESH_PYRAMID,
Meshes::MESH_ICOSPHERE,
Meshes::MESH_TEAPOT,
@@ -36,7 +36,7 @@ public:
Meshes::MESH_PYRAMID,
Meshes::MESH_PYRAMID,
Meshes::MESH_PYRAMID,
- }), cur_(-1)
+ }}), cur_(-1)
{
}