mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 05:47:34 +00:00
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
This commit is contained in:
parent
bc319d9e88
commit
d6abfbdc5a
71 changed files with 146 additions and 156 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue