[vlmc-devel] Replace a remaining qFatal by vlmcFatal

Hugo Beauzée-Luyssen git at videolan.org
Sun Feb 9 14:26:14 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Feb  9 15:22:33 2014 +0200| [a797512be2d66006ae6129ebc65ef801f3947f44] | committer: Hugo Beauzée-Luyssen

Replace a remaining qFatal by vlmcFatal

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=a797512be2d66006ae6129ebc65ef801f3947f44
---

 src/Tools/MemoryPool.hpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Tools/MemoryPool.hpp b/src/Tools/MemoryPool.hpp
index 74188f2..24d7f70 100644
--- a/src/Tools/MemoryPool.hpp
+++ b/src/Tools/MemoryPool.hpp
@@ -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();



More information about the Vlmc-devel mailing list