From 23dad305e94bf6f004c4c51ef1b7c83bd1d25f38 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 4 Jun 2020 21:05:41 +0200 Subject: [PATCH] AK: Allow default-constructing Utf8View and Utf8CodepointIterator --- AK/Utf8View.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AK/Utf8View.h b/AK/Utf8View.h index d9d43a273f..0f95268855 100644 --- a/AK/Utf8View.h +++ b/AK/Utf8View.h @@ -37,6 +37,7 @@ class Utf8CodepointIterator { friend class Utf8View; public: + Utf8CodepointIterator() { } ~Utf8CodepointIterator() { } bool operator==(const Utf8CodepointIterator&) const; @@ -54,6 +55,7 @@ private: class Utf8View { public: + Utf8View() { } explicit Utf8View(const String&); explicit Utf8View(const StringView&); explicit Utf8View(const char*); @@ -88,4 +90,5 @@ private: } +using AK::Utf8CodepointIterator; using AK::Utf8View;