forked from OSchip/llvm-project
ADT/Optional.h: Appease msvc. It reapplies r175626.
llvm-svn: 175710
This commit is contained in:
parent
ed820958c8
commit
8c5d388850
|
@ -72,7 +72,7 @@ public:
|
|||
|
||||
void reset() {
|
||||
if (hasVal) {
|
||||
(*this)->~T();
|
||||
(**this).~T();
|
||||
hasVal = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue