Revert r175626, "ADT/Optional.h: Appease msvc."

Sorry, I didn't cover +Asserts, by accident. :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-02-20 15:52:44 +00:00
parent b34c79e4bb
commit 6139b55222

View File

@ -70,7 +70,7 @@ public:
void reset() {
if (hasVal) {
(**this).~T();
(*this)->~T();
hasVal = false;
}
}