From 14b8fc630f2a77b1382136e6943f2cafb44bd154 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Tue, 25 May 2021 13:19:35 +0200 Subject: Unconditionally require std::make_unique Change-Id: I69fc84a192901889e0e69d28a355db57a1b0cccf Reviewed-by: Alexey Edelev Reviewed-by: Alexandru Croitor --- src/3rdparty/masm/stubs/wtf/Optional.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/3rdparty') diff --git a/src/3rdparty/masm/stubs/wtf/Optional.h b/src/3rdparty/masm/stubs/wtf/Optional.h index e0fd4421a9..c4064476c7 100644 --- a/src/3rdparty/masm/stubs/wtf/Optional.h +++ b/src/3rdparty/masm/stubs/wtf/Optional.h @@ -83,14 +83,3 @@ private: } #endif - -#if __cplusplus < 201402L && !QT_CONFIG(cxx14_make_unique)\ -&& !defined(__cpp_lib_make_unique) - -namespace std { - template - unique_ptr make_unique(Args &&...args) - { return unique_ptr(new T(std::forward(args)...)); } -} - -#endif -- cgit v1.2.3