work around LLVM#30305 in folly::Expected, use unified initialization syntax for...
authorEric Niebler <eniebler@fb.com>
Fri, 16 Sep 2016 00:00:30 +0000 (17:00 -0700)
committerFacebook Github Bot 2 <facebook-github-bot-2-bot@fb.com>
Fri, 16 Sep 2016 00:08:26 +0000 (17:08 -0700)
commita610249b9ea7c414810b1c0a12f9a81c13c834ec
tree64ede8d8cf42c80766ebb61a7d1c90b273b3e28a
parent101b2ad7538bc1a5417b54cf5713d403f9a2eefa
work around LLVM#30305 in folly::Expected, use unified initialization syntax for extra goodness

Summary: The behavior of inheriting constructors changed in clang 3.9 (see https://llvm.org/bugs/show_bug.cgi?id=30305), and folly::Expected needs to change accordingly. As a drive-by improvement, change all invocations of default constructors to use unified initialization syntax.

Reviewed By: igorsugak

Differential Revision: D3872994

fbshipit-source-id: fdaea8b35980df21b8522e2c3d5a8c3be1d84efa
folly/Expected.h