Make Expected presume it has a value and not an Error
authorPhil Willoughby <philwill@fb.com>
Thu, 2 Nov 2017 22:38:42 +0000 (15:38 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 2 Nov 2017 22:53:01 +0000 (15:53 -0700)
commit8b37be003c80bacd27efc4e0e6d69338d6c0c1eb
treead3b11ef77f00e1550f7a1439d87b9257620e817
parent6b8138f935ed461e8e1e3c6c675539df1be5a211
Make Expected presume it has a value and not an Error

Summary: This only affects instruction ordering in GCC-compatible compilers to make the value-having branch preferred.

Reviewed By: davidtgoldblatt, nbronson, yfeldblum

Differential Revision: D6223188

fbshipit-source-id: 57c69b88eda7ee769912874921c45b47ec7a38de
folly/Expected.h