Commit ab0b5db2 authored by D-AIRY's avatar D-AIRY

added mutex include

parent a91bdfc7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment