diff --git a/include/fmt/format.h b/include/fmt/format.h index 605adb7c468a..101194394324 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -215,8 +215,9 @@ inline Dest bit_cast(const Source& source) { // Returns the largest possible value for type T. Same as // std::numeric_limits::max() but shorter and not affected by the max macro. -template -constexpr T max_value() { return (std::numeric_limits::max)(); } +template constexpr T max_value() { + return (std::numeric_limits::max)(); +} // An approximation of iterator_t for pre-C++20 systems. template @@ -2083,13 +2084,12 @@ template class specs_checker : public Handler { numeric_specs_checker checker_; }; -template