From 794e1b6145e4286ca595ed91fbb16eed6f3aae7e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 4 Jan 2024 09:21:19 -0800 Subject: [PATCH] Remove redundant overload --- include/fmt/format.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 8cdf95b7..30c67941 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -798,11 +798,6 @@ FMT_CONSTEXPR inline auto compute_width(string_view s) -> size_t { return num_code_points; } -inline auto compute_width(basic_string_view s) -> size_t { - return compute_width( - string_view(reinterpret_cast(s.data()), s.size())); -} - template inline auto code_point_index(basic_string_view s, size_t n) -> size_t { size_t size = s.size();