projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b98985
)
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)
llvm-svn: 175626
llvm/include/llvm/ADT/Optional.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/Optional.h
b/llvm/include/llvm/ADT/Optional.h
index
e55ad79
..
55e2d1a
100644
(file)
--- a/
llvm/include/llvm/ADT/Optional.h
+++ b/
llvm/include/llvm/ADT/Optional.h
@@
-70,7
+70,7
@@
public:
void reset() {
if (hasVal) {
- (*
this)->
~T();
+ (*
*this).
~T();
hasVal = false;
}
}