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:
ad4da0f
)
ADT/Optional.h: Appease msvc.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 20 Feb 2013 15:12:24 +0000
(15:12 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 20 Feb 2013 15:12:24 +0000
(15:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175626
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 e55ad797c2cba3270327f01f3ea03606bb6c79ca..55e2d1a89abd4d92148487cf3913eebdabab5901 100644
(file)
--- 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;
}
}