add missing inline after rebasing

This commit is contained in:
Alexey Ochapov 2020-12-27 08:06:12 +03:00
parent f35325e89d
commit 4b6b13db02
No known key found for this signature in database
GPG Key ID: 9DC52E8F031B8DA8

View File

@ -545,7 +545,7 @@ inline size_t count_code_points(basic_string_view<Char> s) {
}
// Counts the number of code points in a UTF-8 string.
FMT_CONSTEXPR size_t count_code_points(basic_string_view<char> s) {
FMT_CONSTEXPR inline size_t count_code_points(basic_string_view<char> s) {
const char* data = s.data();
size_t num_code_points = 0;
for (size_t i = 0, size = s.size(); i != size; ++i) {