summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Utf16String.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Utf16String.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Utf16String.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Utf16String.h b/Userland/Libraries/LibJS/Runtime/Utf16String.h
index e38e5b4592..84d3afc364 100644
--- a/Userland/Libraries/LibJS/Runtime/Utf16String.h
+++ b/Userland/Libraries/LibJS/Runtime/Utf16String.h
@@ -21,7 +21,7 @@ public:
static NonnullRefPtr<Utf16StringImpl> create();
static NonnullRefPtr<Utf16StringImpl> create(Vector<u16, 1>);
- static NonnullRefPtr<Utf16StringImpl> create(StringView const&);
+ static NonnullRefPtr<Utf16StringImpl> create(StringView);
static NonnullRefPtr<Utf16StringImpl> create(Utf16View const&);
Vector<u16, 1> const& string() const;
@@ -40,7 +40,7 @@ class Utf16String {
public:
Utf16String();
explicit Utf16String(Vector<u16, 1>);
- explicit Utf16String(StringView const&);
+ explicit Utf16String(StringView);
explicit Utf16String(Utf16View const&);
Vector<u16, 1> const& string() const;