mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:47:35 +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
|
@ -12,7 +12,7 @@
|
|||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static ObjectPtr<GWindow> make_launcher_window();
|
||||
static RefPtr<GWindow> make_launcher_window();
|
||||
|
||||
void handle_sigchld(int)
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ private:
|
|||
String m_executable_path;
|
||||
};
|
||||
|
||||
ObjectPtr<GWindow> make_launcher_window()
|
||||
RefPtr<GWindow> make_launcher_window()
|
||||
{
|
||||
auto config = CConfigFile::get_for_app("Launcher");
|
||||
auto vertical = config->read_bool_entry("Launcher", "Vertical", true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue