From 81ebe70b9b2f76c80804aa63c76b0928e73d39b9 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Sat, 19 Nov 2022 16:07:05 +0500 Subject: [PATCH] Fix warning: a class type that is not trivially copyable passed through ellipsis (EDG frontend) Signed-off-by: Vladislav Shchapov --- include/fmt/format.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 98bfade4..5223e8c8 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2117,12 +2117,10 @@ template struct loc_writer { return true; } - template ::value)> + template ::value)> auto operator()(T) -> bool { return false; } - - auto operator()(...) -> bool { return false; } }; template