mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
Kernel: Remove use of copy_ref() in favor of regular RefPtr copies.
This is obviously more readable. If we ever run into a situation where ref count churn is actually causing trouble in the future, we can deal with it then. For now, let's keep it simple. :^)
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 13:19:54 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5254a320d85
@@ -60,7 +60,7 @@ class Ext2FS final : public DiskBackedFS {
|
||||
friend class Ext2FSInode;
|
||||
|
||||
public:
|
||||
static NonnullRefPtr<Ext2FS> create(NonnullRefPtr<DiskDevice>&&);
|
||||
static NonnullRefPtr<Ext2FS> create(NonnullRefPtr<DiskDevice>);
|
||||
virtual ~Ext2FS() override;
|
||||
virtual bool initialize() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user