From bb9c47cf88d77d158fb5a30f5c43d4eded40ba0a Mon Sep 17 00:00:00 2001 From: Rick Rodgers Date: Tue, 29 Aug 2023 22:14:08 +0100 Subject: [PATCH] Fixing deprecation warning Wdeprecated-literal-operator on LLVM 16.0.6 --- include/spdlog/fmt/bundled/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h index 7c607dbd..dd393bed 100644 --- a/include/spdlog/fmt/bundled/format.h +++ b/include/spdlog/fmt/bundled/format.h @@ -4165,7 +4165,7 @@ template constexpr auto operator""_a() { return detail::udl_arg(); } # else -constexpr auto operator"" _a(const char* s, size_t) -> detail::udl_arg { +constexpr auto operator""_a(const char* s, size_t) -> detail::udl_arg { return {s}; } # endif