logging: fix build error when using gcc with -Wmissing-braces
authorAdam Simpkins <simpkins@fb.com>
Wed, 10 Jan 2018 20:29:05 +0000 (12:29 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 10 Jan 2018 20:40:46 +0000 (12:40 -0800)
commit79a92dfdb43fefd774ea8f51bd6b9a2b9d0ce137
tree500de9d7efc61e25715e0b1a9fbc7871eba3630c
parentdcf8a19c8d08d7e730d3862c88396fdcdfa2813f
logging: fix build error when using gcc with -Wmissing-braces

Summary:
Since std::array is actually a struct containing an array it technically
requires double braces around its initializer.  The language allows eliding
these braces, and clang doesn't complain about only using a single brace, but
gcc does when using `-Wmissing-braces`.

Reviewed By: yfeldblum

Differential Revision: D6695289

fbshipit-source-id: 913fcfbea4164a02d001bd2344e340c0b6ee62aa
folly/experimental/logging/LogLevel.cpp