diff --git a/src/character.cpp b/src/character.cpp index 6f16de2eec5e3..cdb55cfc43171 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -3331,7 +3331,7 @@ int Character::height() const int height = init_height; int height_pos = 15; - const static std::array v = { 290, 240, 190, 140, 90 }; + const static std::array v = {{ 290, 240, 190, 140, 90 }}; for( const int up_bound : v ) { if( up_bound >= init_height && up_bound - init_height < 40 ) { height_pos = up_bound - init_height;