summaryrefslogtreecommitdiff
path: root/src/string_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_func.h')
-rw-r--r--src/string_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string_func.h b/src/string_func.h
index 0988f01b3..2e258fbd2 100644
--- a/src/string_func.h
+++ b/src/string_func.h
@@ -166,6 +166,7 @@ static inline const char *Utf8PrevChar(const char *s)
}
size_t Utf8StringLength(const char *s);
+size_t Utf8StringLength(const std::string &str);
/**
* Is the given character a lead surrogate code point?