Skip to content

Commit

Permalink
Another backward incompatibility issue with llvm.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbill committed May 20, 2020
1 parent 813d24b commit ef64b96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/WTF/wtf/DeprecatedOptional.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@

#include <type_traits>
#include <wtf/Optional.h>
#include <optional>

namespace std {
namespace std_1 {

template <class T>
class optional : private WTF::OptionalBase<T> {
Expand All @@ -45,6 +46,6 @@ class optional : private WTF::OptionalBase<T> {

namespace WTF {

template<typename T> using DeprecatedOptional = std::optional<T>;
template<typename T> using DeprecatedOptional = std_1::optional<T>;

} // namespace WTF

0 comments on commit ef64b96

Please sign in to comment.