mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-28 08:26:16 +02:00
Replace some shared_ptr with unique_ptr
This commit is contained in:
parent
d8a6e63691
commit
6b793dfb76
3 changed files with 19 additions and 19 deletions
|
@ -76,9 +76,8 @@ private:
|
|||
std::unique_ptr<decoder::Decoder> decoder_;
|
||||
std::unique_ptr<Player> player_;
|
||||
std::shared_ptr<MetadataAdapter> meta_;
|
||||
std::shared_ptr<msg::ServerSettings> serverSettings_;
|
||||
std::shared_ptr<msg::StreamTags> streamTags_;
|
||||
std::shared_ptr<msg::CodecHeader> headerChunk_;
|
||||
std::unique_ptr<msg::ServerSettings> serverSettings_;
|
||||
std::unique_ptr<msg::CodecHeader> headerChunk_;
|
||||
std::mutex receiveMutex_;
|
||||
|
||||
shared_exception_ptr async_exception_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue