Skip to content
Snippets Groups Projects
Commit ab0b5db2 authored by D-AIRY's avatar D-AIRY
Browse files

added mutex include

parent a91bdfc7
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,6 @@
template<typename T> class CConcurrentQueue
{
typedef std::unique_lock<std::mutex> ScopedLock;
public:
CConcurrentQueue()
{
......@@ -71,7 +69,7 @@ public:
{
ScopedLock lock(m_mutex);
return(mQueue.size());
return(m_queue.size());
}
void clear()
......
......@@ -12,6 +12,10 @@ See the license in LICENSE
#include <memory.h>
#include <ctype.h>
#include <assert.h>
#include <mutex>
using std::mutex;
typedef std::unique_lock<std::mutex> ScopedLock;
typedef float float32_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment