diff --git a/include/fmt/fmtlog.h b/include/fmt/fmtlog.h index 16b94341..2ffe6654 100644 --- a/include/fmt/fmtlog.h +++ b/include/fmt/fmtlog.h @@ -67,7 +67,9 @@ using stored_as_string_object = std::integral_constant, typename Formatter = typename Context::template formatter_type> - static std::enable_if_t::value, std::tuple(), std::declval()))>> test(int); + static std::enable_if_t::value, std::tuple(), std::declval()))>> test(double); + template , typename Formatter = typename Context::template formatter_type> + static std::enable_if_t::value, std::tuple(), std::declval()))>> test(int); template static std::tuple test(...); };