From 4b6b13db02a9365679fd2b3f792561c6ce6c6fde Mon Sep 17 00:00:00 2001 From: Alexey Ochapov Date: Sun, 27 Dec 2020 08:06:12 +0300 Subject: [PATCH] add missing inline after rebasing --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index f8e47dfb..d6084fba 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -545,7 +545,7 @@ inline size_t count_code_points(basic_string_view s) { } // Counts the number of code points in a UTF-8 string. -FMT_CONSTEXPR size_t count_code_points(basic_string_view s) { +FMT_CONSTEXPR inline size_t count_code_points(basic_string_view s) { const char* data = s.data(); size_t num_code_points = 0; for (size_t i = 0, size = s.size(); i != size; ++i) {