diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-22 00:31:54 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-22 00:31:54 +0200 |
commit | d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81 (patch) | |
tree | 3a2b7d2f2c3d5e231a391f5f86ac64aaea2c49fb /Servers/AudioServer | |
parent | bc319d9e8873734bb8e8cea3d762d7fab2ded887 (diff) | |
download | serenity-d6abfbdc5a7838fdc8e20e43a5146968a8dbcd81.zip |
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
Diffstat (limited to 'Servers/AudioServer')
-rw-r--r-- | Servers/AudioServer/ASEventLoop.h | 2 | ||||
-rw-r--r-- | Servers/AudioServer/ASMixer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Servers/AudioServer/ASEventLoop.h b/Servers/AudioServer/ASEventLoop.h index a9126353c7..b531b98c07 100644 --- a/Servers/AudioServer/ASEventLoop.h +++ b/Servers/AudioServer/ASEventLoop.h @@ -12,6 +12,6 @@ public: private: CEventLoop m_event_loop; - ObjectPtr<CLocalServer> m_server; + RefPtr<CLocalServer> m_server; ASMixer m_mixer; }; diff --git a/Servers/AudioServer/ASMixer.h b/Servers/AudioServer/ASMixer.h index 9dfa618217..9286ae3753 100644 --- a/Servers/AudioServer/ASMixer.h +++ b/Servers/AudioServer/ASMixer.h @@ -63,7 +63,7 @@ public: private: Vector<NonnullRefPtr<ASBufferQueue>> m_pending_mixing; - ObjectPtr<CFile> m_device; + RefPtr<CFile> m_device; LibThread::Lock m_lock; LibThread::Thread m_sound_thread; |