Skip to content

Commit

Permalink
Fix clang -Wmissing-braces warning in std::array initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
c42f committed Feb 26, 2015
1 parent c2c2849 commit 325199f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinyformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ namespace tfm = tinyformat;
# if defined(_MSC_VER) && _MSC_VER <= 1800 // VS2013
# define TINYFORMAT_BRACED_INIT_WORKAROUND(x) (x)
# else
# define TINYFORMAT_BRACED_INIT_WORKAROUND(x) x
# define TINYFORMAT_BRACED_INIT_WORKAROUND(x) {x}
# endif
#endif

Expand Down

0 comments on commit 325199f

Please sign in to comment.