diff --git a/api/utf16.hpp b/api/utf16.hpp index e69c09cb6..ded5cd65f 100644 --- a/api/utf16.hpp +++ b/api/utf16.hpp @@ -32,7 +32,7 @@ namespace jule constexpr signed int UTF16_MAX_RUNE = 1114111; inline jule::I32 utf16_decode_rune(const jule::I32 r1, const jule::I32 r2) noexcept; - std::vector utf16_decode(const std::vector s); + std::vector utf16_decode(const std::vector &s); std::vector utf8_to_runes(const std::string &s) noexcept; std::string utf16_to_utf8_str(const wchar_t *wstr, const std::size_t len); std::tuple utf16_encode_rune(jule::I32 r);