logging: fix compilation error on older C++ compilers
authorAdam Simpkins <simpkins@fb.com>
Sat, 2 Dec 2017 02:01:59 +0000 (18:01 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 2 Dec 2017 02:06:19 +0000 (18:06 -0800)
commitad993b99e320a3e16d1671efe38052f0df203eb4
treeaee0583533f22169075c5d6b0bd9355cbe17d152
parent6072ce3be8548bae30fdd48afe67e986074f5a5b
logging: fix compilation error on older C++ compilers

Summary:
Add an explicit `std::move()` around the return value of
`logConfigToDynamic()`.  This explicit move is required pre-C++14,
but is not required after DR 1579:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1579

Newer versions of g++ and clang no longer require the move.  However gcc
versions earlier than 5.0 do require it.

Reviewed By: yfeldblum

Differential Revision: D6466447

fbshipit-source-id: 1b15934490d4966e9b3e5612e0e2ecbb43c979ca
folly/experimental/logging/LogConfigParser.cpp