projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5618230
)
ADT/Optional.h: Appease msvc. It reapplies r175626.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 21 Feb 2013 02:32:25 +0000
(
02:32
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 21 Feb 2013 02:32:25 +0000
(
02:32
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175710
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/Optional.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/Optional.h
b/include/llvm/ADT/Optional.h
index b0d09f69603e2839dfd07f28d19ce0d6f5f0a417..844e3090500665771450b07854c0b93803429971 100644
(file)
--- 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;
}
}