summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-22 00:31:54 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-22 00:31:54 +0200
commitd6abfbdc5a7838fdc8e20e43a5146968a8dbcd81 (patch)
tree3a2b7d2f2c3d5e231a391f5f86ac64aaea2c49fb /DevTools/VisualBuilder/main.cpp
parentbc319d9e8873734bb8e8cea3d762d7fab2ded887 (diff)
downloadserenity-d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81.zip
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
Diffstat (limited to 'DevTools/VisualBuilder/main.cpp')
-rw-r--r--DevTools/VisualBuilder/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/VisualBuilder/main.cpp b/DevTools/VisualBuilder/main.cpp
index c93a5527c4..3d96db1e51 100644
--- a/DevTools/VisualBuilder/main.cpp
+++ b/DevTools/VisualBuilder/main.cpp
@@ -17,7 +17,7 @@
#include <stdio.h>
#include <unistd.h>
-static ObjectPtr<GWindow> make_toolbox_window();
+static RefPtr<GWindow> make_toolbox_window();
int main(int argc, char** argv)
{
@@ -74,7 +74,7 @@ int main(int argc, char** argv)
return app.exec();
}
-ObjectPtr<GWindow> make_toolbox_window()
+RefPtr<GWindow> make_toolbox_window()
{
auto window = GWindow::construct();
window->set_title("Widgets");