From 0bf7919da6832c99e45d308fc7dc8f63a21e6460 Mon Sep 17 00:00:00 2001 From: sabudilovskiy Date: Wed, 2 Oct 2024 18:16:54 +0000 Subject: [PATCH] - --- gtest/parsers/test_basic.cpp | 2 +- include/tgbm/tools/StringTools.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtest/parsers/test_basic.cpp b/gtest/parsers/test_basic.cpp index 2f82170c..fca2b316 100644 --- a/gtest/parsers/test_basic.cpp +++ b/gtest/parsers/test_basic.cpp @@ -16,7 +16,7 @@ struct SomeStruct { .value(); } - constexpr std::strong_ordering operator<=>(const SomeStruct&) const = default; + std::strong_ordering operator<=>(const SomeStruct&) const = default; }; static_assert(tgbm::common_api_type); diff --git a/include/tgbm/tools/StringTools.h b/include/tgbm/tools/StringTools.h index 88c36455..febe69cb 100644 --- a/include/tgbm/tools/StringTools.h +++ b/include/tgbm/tools/StringTools.h @@ -178,7 +178,7 @@ struct string_switch { namespace fmt { template <> -struct fmt::formatter<::tgbm::utils::url_encoded> { +struct formatter<::tgbm::utils::url_encoded> { static constexpr auto parse(fmt::format_parse_context& ctx) -> decltype(ctx.begin()) { return ctx.end(); }