diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-21 02:32:25 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-21 02:32:25 +0000 |
commit | b8ebc9e2444c73126bdc812165f808f22af10cfa (patch) | |
tree | 25f1e549aeb77f254bc8b181e35e89e8017b446b /include | |
parent | 561823009b41e144f49cc00f1dc3e55b8649d400 (diff) |
ADT/Optional.h: Appease msvc. It reapplies r175626.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175710 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 b0d09f6960..844e309050 100644 --- a/include/llvm/ADT/Optional.h +++ b/include/llvm/ADT/Optional.h @@ -72,7 +72,7 @@ public: void reset() { if (hasVal) { - (*this)->~T(); + (**this).~T(); hasVal = false; } } |