Skip to content
Snippets Groups Projects
Commit a7209e06 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

VlmcDebug: Add an overload for std::string

parent d16bd9db
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,12 @@
#include <QThread>
#include <QTime>
inline QDebug operator<<( QDebug& qdbg, const std::string& str )
{
qdbg << str.c_str();
return qdbg;
}
inline QDebug vlmcDebug()
{
return (qDebug().nospace() << '[' << qPrintable(QTime::currentTime().toString("hh:mm:ss.zzz")) << "] T #" << QThread::currentThreadId() << " D:").space();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment