projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ADT/Optional.h: Appease msvc.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
Optional.h
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;
}
}