From 6f2dd30e384a2a5c1326b8715a08e59a9b835f3b Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Sat, 27 Jul 2019 17:56:55 -0400 Subject: [PATCH] Simplify udl_formatter return type --- include/fmt/format.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 628d68d6..a3e9e6e4 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3469,8 +3469,7 @@ template struct udl_formatter { basic_string_view str; template - auto operator()(Args&&... args) const - -> decltype(format(str, std::forward(args)...)) { + std::basic_string operator()(Args&&... args) const { return format(str, std::forward(args)...); } };