Commit a797512b authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Replace a remaining qFatal by vlmcFatal

parent 11582824
......@@ -26,9 +26,9 @@
#include <QMutex>
#include <QQueue>
#include <QtDebug>
#include "Singleton.hpp"
#include "VlmcDebug.h"
template <typename T, size_t NB_ELEM = 5>
class MemoryPool : public Singleton< MemoryPool<T, NB_ELEM> >
......@@ -39,7 +39,7 @@ public:
QMutexLocker lock( m_mutex );
if ( m_pool.size() == 0 )
{
qCritical() << "Pool is empty !!";
vlmcCritical() << "Pool is empty !!";
return new T;
}
quint8* ptr = m_pool.dequeue();
......
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