summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/StringIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/StringIterator.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/StringIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/StringIterator.h b/Userland/Libraries/LibJS/Runtime/StringIterator.h
index f2869fa53f..f419caabc4 100644
--- a/Userland/Libraries/LibJS/Runtime/StringIterator.h
+++ b/Userland/Libraries/LibJS/Runtime/StringIterator.h
@@ -15,7 +15,7 @@ class StringIterator final : public Object {
JS_OBJECT(StringIterator, Object);
public:
- static StringIterator* create(Realm&, DeprecatedString string);
+ static NonnullGCPtr<StringIterator> create(Realm&, DeprecatedString string);
virtual ~StringIterator() override = default;