1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +00:00

LibJS: Convert Intl::Segments::create() to NonnullGCPtr

This commit is contained in:
Linus Groh 2022-12-13 20:49:50 +00:00
parent df589bb05b
commit 237402aea9
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ class Segments final : public Object {
JS_OBJECT(Segments, Object);
public:
static Segments* create(Realm&, Segmenter&, Utf16String);
static NonnullGCPtr<Segments> create(Realm&, Segmenter&, Utf16String);
virtual ~Segments() override = default;