very minor formatting update
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
|
||||
namespace olive {
|
||||
|
||||
ThreadPool::ThreadPool(unsigned threads, QObject *parent)
|
||||
: QObject(parent)
|
||||
ThreadPool::ThreadPool(unsigned threads, QObject *parent) :
|
||||
QObject(parent)
|
||||
{
|
||||
if (threads == 0) {
|
||||
threads = std::thread::hardware_concurrency();
|
||||
|
||||
@@ -40,10 +40,7 @@ public:
|
||||
using TaskType = RenderTicketPtr;
|
||||
ThreadPool(unsigned threads, QObject *parent);
|
||||
|
||||
ThreadPool(const ThreadPool &) = delete;
|
||||
ThreadPool(ThreadPool &&) = delete;
|
||||
ThreadPool & operator=(const ThreadPool&) = delete;
|
||||
ThreadPool & operator=(ThreadPool &&) = delete;
|
||||
DISABLE_COPY_MOVE(ThreadPool)
|
||||
|
||||
virtual void RunTicket(RenderTicketPtr ticket) const = 0;
|
||||
void AddTicket(RenderTicketPtr ticket, RenderTicketPriority priority = RenderTicketPriority::kNormal);
|
||||
|
||||
Reference in New Issue
Block a user