juicy compiler error

This commit is contained in:
fourtf
2017-01-11 18:52:09 +01:00
parent 580a411e9d
commit 854566b57f
63 changed files with 1481 additions and 1067 deletions
+4 -6
View File
@@ -1,14 +1,12 @@
#ifndef ASYNCEXEC_H
#define ASYNCEXEC_H
#include "QThreadPool"
#include "QRunnable"
#include "QThreadPool"
#include "lambdaqrunnable.h"
#include "qcoreapplication.h"
#define async_start QThreadPool::globalInstance()->start(new LambdaQRunnable(
#define async_end ));
#define async_exec(a) QThreadPool::globalInstance()->start(new LambdaQRunnable([]{ a; }));
#define async_exec(a) \
QThreadPool::globalInstance()->start(new LambdaQRunnable(a));
#endif // ASYNCEXEC_H
#endif // ASYNCEXEC_H