diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index eac81a79..acff1574 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -437,7 +437,7 @@ auto find_escape(const Char* begin, const Char* end) return {begin, nullptr, 0}; } -auto find_escape(const char* begin, const char* end) +inline auto find_escape(const char* begin, const char* end) -> find_escape_result { if (!is_utf8()) return find_escape(begin, end); auto result = find_escape_result{end, nullptr, 0};