diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-20 15:12:24 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-20 15:12:24 +0000 |
commit | 767ad1c808c798191cf9470e7a0e546d3b472472 (patch) | |
tree | a83352b848c00c447c780419d2288eaead32bf9a /include | |
parent | ad4da0fc321230261b4d0387f0ec216eb8aa50ca (diff) |
ADT/Optional.h: Appease msvc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175626 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/Optional.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/Optional.h b/include/llvm/ADT/Optional.h index e55ad797c2..55e2d1a89a 100644 --- a/include/llvm/ADT/Optional.h +++ b/include/llvm/ADT/Optional.h @@ -70,7 +70,7 @@ public: void reset() { if (hasVal) { - (*this)->~T(); + (**this).~T(); hasVal = false; } } |