rename ExpectedStorage::isThis to isSelfAssign so that the self-assign check in opera...
authorEric Niebler <eniebler@fb.com>
Mon, 19 Dec 2016 23:12:31 +0000 (15:12 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 19 Dec 2016 23:18:23 +0000 (15:18 -0800)
commit9589f4c4bc06e4bc72f0e5a3501b18a871b0e9be
treeba0aa27af2125cef748cf537fa60127e45bc71f4
parenta7ddbd6f931cabad893b559490b948ecb87b1bca
rename ExpectedStorage::isThis to isSelfAssign so that the self-assign check in operator= works

Summary: This corrects an oversight in folly::Expected where self-assign was not being detected correctly due to a half-applied edit.

Reviewed By: yfeldblum

Differential Revision: D4348181

fbshipit-source-id: 710b25c4c6d7aeaaea50493ccc5788d875ec4c2e
folly/Expected.h
folly/test/ExpectedTest.cpp