From ef64b9640e8f7b71f491c6053748cdb639909645 Mon Sep 17 00:00:00 2001 From: mbbill Date: Wed, 20 May 2020 03:04:09 -0700 Subject: [PATCH] Another backward incompatibility issue with llvm. --- Source/WTF/wtf/DeprecatedOptional.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/WTF/wtf/DeprecatedOptional.h b/Source/WTF/wtf/DeprecatedOptional.h index 9b1558d..27da45c 100644 --- a/Source/WTF/wtf/DeprecatedOptional.h +++ b/Source/WTF/wtf/DeprecatedOptional.h @@ -31,8 +31,9 @@ #include #include +#include -namespace std { +namespace std_1 { template class optional : private WTF::OptionalBase { @@ -45,6 +46,6 @@ class optional : private WTF::OptionalBase { namespace WTF { -template using DeprecatedOptional = std::optional; +template using DeprecatedOptional = std_1::optional; } // namespace WTF