summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CHttpJob.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-22 00:31:54 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-22 00:31:54 +0200
commitd6abfbdc5a7838fdc8e20e43a5146968a8dbcd81 (patch)
tree3a2b7d2f2c3d5e231a391f5f86ac64aaea2c49fb /Libraries/LibCore/CHttpJob.h
parentbc319d9e8873734bb8e8cea3d762d7fab2ded887 (diff)
downloadserenity-d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81.zip
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
Diffstat (limited to 'Libraries/LibCore/CHttpJob.h')
-rw-r--r--Libraries/LibCore/CHttpJob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/CHttpJob.h b/Libraries/LibCore/CHttpJob.h
index 3e3b758977..cb0e00506c 100644
--- a/Libraries/LibCore/CHttpJob.h
+++ b/Libraries/LibCore/CHttpJob.h
@@ -27,7 +27,7 @@ private:
};
CHttpRequest m_request;
- ObjectPtr<CTCPSocket> m_socket;
+ RefPtr<CTCPSocket> m_socket;
State m_state { State::InStatus };
int m_code { -1 };
HashMap<String, String> m_headers;