ADT/Optional.h: Appease msvc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-02-20 15:12:24 +00:00
parent ad4da0fc32
commit 767ad1c808

View File

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