diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-22 00:31:54 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-22 00:31:54 +0200 |
commit | d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81 (patch) | |
tree | 3a2b7d2f2c3d5e231a391f5f86ac64aaea2c49fb /DevTools/FormCompiler/main.cpp | |
parent | bc319d9e8873734bb8e8cea3d762d7fab2ded887 (diff) | |
download | serenity-d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81.zip |
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
Diffstat (limited to 'DevTools/FormCompiler/main.cpp')
-rw-r--r-- | DevTools/FormCompiler/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/FormCompiler/main.cpp b/DevTools/FormCompiler/main.cpp index 0b4dfafe39..716e0cc7d5 100644 --- a/DevTools/FormCompiler/main.cpp +++ b/DevTools/FormCompiler/main.cpp @@ -44,14 +44,14 @@ int main(int argc, char** argv) }); dbg() << "struct UI_" << name << " {"; - dbg() << " ObjectPtr<GWidget> main_widget;"; + dbg() << " RefPtr<GWidget> main_widget;"; widgets.as_array().for_each([&](auto& value) { ASSERT(value.is_object()); const JsonObject& widget_object = value.as_object(); auto name = widget_object.get("name").to_string(); auto class_name = widget_object.get("class").to_string(); - dbg() << " ObjectPtr<" << class_name << "> " << name << ";"; + dbg() << " RefPtr<" << class_name << "> " << name << ";"; }); dbg() << " UI_" << name << "();"; |