From f8237d5fbd2da9d1c6b45117dba7d4b5dea4144c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rimas=20Misevi=C4=8Dius?= Date: Wed, 28 Aug 2024 22:55:52 +0300 Subject: [PATCH] Fix wpt-url.cpp compilation with old Clang (4.0, 5.0) --- test/wpt-url.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/wpt-url.cpp b/test/wpt-url.cpp index 5ca5cdd..611844c 100644 --- a/test/wpt-url.cpp +++ b/test/wpt-url.cpp @@ -78,7 +78,7 @@ int test_from_file(RunTests run_tests, const char* file_name) class string_or_null { public: // construct - string_or_null() noexcept = default; + string_or_null() UPA_NOEXCEPT_17 = default; string_or_null(const string_or_null&) = default; string_or_null(string_or_null&&) noexcept = default; string_or_null(const picojson::value& json_value) @@ -91,7 +91,7 @@ class string_or_null { // assign string_or_null& operator=(const string_or_null&) = default; - string_or_null& operator=(string_or_null&&) noexcept = default; + string_or_null& operator=(string_or_null&&) UPA_NOEXCEPT_17 = default; // has value? explicit operator bool() const noexcept {