1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:07:45 +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

@ -8,7 +8,7 @@ class GDirectoryModel final : public GModel {
friend int thumbnail_thread(void*);
public:
static Retained<GDirectoryModel> create() { return adopt(*new GDirectoryModel); }
static NonnullRefPtr<GDirectoryModel> create() { return adopt(*new GDirectoryModel); }
virtual ~GDirectoryModel() override;
enum Column {
@ -42,7 +42,7 @@ public:
uid_t uid { 0 };
uid_t gid { 0 };
ino_t inode { 0 };
mutable RetainPtr<GraphicsBitmap> thumbnail;
mutable RefPtr<GraphicsBitmap> thumbnail;
bool is_directory() const { return S_ISDIR(mode); }
bool is_executable() const { return mode & S_IXUSR; }
String full_path(const GDirectoryModel& model) const { return String::format("%s/%s", model.path().characters(), name.characters()); }