1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

Utf8View: Try fixing the travis-ci build

There's some overload ambiguity when doing Utf8View("literal")
This commit is contained in:
Andreas Kling 2019-09-05 19:06:39 +02:00
parent 6d3f52c4a4
commit fb39e46d3d
2 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,11 @@ Utf8View::Utf8View(const StringView& string)
{
}
Utf8View::Utf8View(const char* string)
: m_string(string)
{
}
const unsigned char* Utf8View::begin_ptr() const
{
return (const unsigned char*)m_string.characters_without_null_termination();