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:
b34c79e
)
Revert r175626, "ADT/Optional.h: Appease msvc."
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 20 Feb 2013 15:52:44 +0000
(15:52 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 20 Feb 2013 15:52:44 +0000
(15:52 +0000)
Sorry, I didn't cover +Asserts, by accident. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175633
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 e1fc2e8661ffb5870626698cca95740265065d45..6c91a13a5b5fb3fda8daca7578a1b58d1db95a85 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;
}
}