1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-22 14:17:40 +00:00

AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.

This commit is contained in:
Andreas Kling 2019-06-21 18:37:47 +02:00
parent 77b9fa89dd
commit 90b1354688
188 changed files with 562 additions and 562 deletions

View file

@ -6,7 +6,7 @@
#include <stdio.h>
#include <unistd.h>
Retained<CConfigFile> CConfigFile::get_for_app(const String& app_name)
NonnullRefPtr<CConfigFile> CConfigFile::get_for_app(const String& app_name)
{
String home_path = get_current_user_home_path();
if (home_path == "/")
@ -15,7 +15,7 @@ Retained<CConfigFile> CConfigFile::get_for_app(const String& app_name)
return adopt(*new CConfigFile(path));
}
Retained<CConfigFile> CConfigFile::get_for_system(const String& app_name)
NonnullRefPtr<CConfigFile> CConfigFile::get_for_system(const String& app_name)
{
auto path = String::format("/etc/%s.ini", app_name.characters());
return adopt(*new CConfigFile(path));