logging: fix compiler compatibility for one more constexpr function
authorAdam Simpkins <simpkins@fb.com>
Wed, 5 Jul 2017 17:48:49 +0000 (10:48 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 5 Jul 2017 17:50:04 +0000 (10:50 -0700)
commit7b116ffe3b116ffc3c2089ca0b864ca7ebb1d28c
tree07e344da8407d9ee3ace6de11253630d1638a76b
parentfbeb95acc305131b90693cdb782b7912cd80551d
logging: fix compiler compatibility for one more constexpr function

Summary:
Update LogLevel's operator+() to consist only of a single return statement.
This is required for pre-C++14 compiler support.

Reviewed By: yfeldblum

Differential Revision: D5368256

fbshipit-source-id: 9ecbcde5edd1d0b3e7580d6263ad926e44908219
folly/experimental/logging/LogLevel.h