mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +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
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
#include <AK/URL.h>
|
||||
#include <LibCore/ObjectPtr.h>
|
||||
|
||||
class CNetworkJob;
|
||||
|
||||
|
@ -27,7 +26,7 @@ public:
|
|||
String method_name() const;
|
||||
ByteBuffer to_raw_request() const;
|
||||
|
||||
ObjectPtr<CNetworkJob> schedule();
|
||||
RefPtr<CNetworkJob> schedule();
|
||||
|
||||
private:
|
||||
URL m_url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue