logging: support building with gcc-4.9
authorAdam Simpkins <simpkins@fb.com>
Thu, 29 Jun 2017 21:45:09 +0000 (14:45 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 29 Jun 2017 21:50:25 +0000 (14:50 -0700)
commit22471d8d2e18bf2f9ddc6d30ae98bf36646c6041
tree4af48467bc3a5021ff3fc539f9628f88101132c2
parent4f8bbf577c7034dd0469e804e23780fdd0465541
logging: support building with gcc-4.9

Summary:
Versions of gcc prior to 5.x only support C++11 constexpr functions, and
require that they consist of only a single return statement.

This updates isLogLevelFatal() to meet those requirements so that it can still
be compiled with gcc 4.9.

Reviewed By: ikobzar

Differential Revision: D5350304

fbshipit-source-id: 2a9c256236c484f8c3d5f83690fde8b7333aa4fc
folly/experimental/logging/LogLevel.h