From 415002e42e6b1b396bca78576e74dc6087f7e8c6 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 8cdf95b7bdff..30c679418474 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();