From c220b88c2d69c8a83180c0f3d7ddf0423f84a44a Mon Sep 17 00:00:00 2001 From: Barry Revzin Date: Sun, 30 Jan 2022 01:35:18 -0600 Subject: [PATCH] C++11... --- include/fmt/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 90999c3a..cc793799 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1786,7 +1786,8 @@ template class basic_format_context { } template >::value)> + FMT_ENABLE_IF( + std::is_same::type>::value)> FMT_CONSTEXPR auto put(formatter& f, U& object) -> iterator { advance_to(f.format(object, *this)); return out_;