mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-23 19:38:31 +02:00
fixed mem issue
git-svn-id: svn://elaine/murooma/trunk@179 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
6c38b1eaa9
commit
eef96dc782
4 changed files with 89 additions and 43 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
queue_.pop();
|
||||
}
|
||||
|
||||
void push(const T& item)
|
||||
void push(const T item)
|
||||
{
|
||||
std::unique_lock<std::mutex> mlock(mutex_);
|
||||
queue_.push(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue