minor formatting

Yes, we will get a proper clang-format at some point
This commit is contained in:
itsmattkc
2022-05-05 09:35:35 -07:00
parent 31dc557909
commit 4acb89ab1e
3 changed files with 8 additions and 3 deletions
+4 -2
View File
@@ -34,7 +34,8 @@ ThreadPool::ThreadPool(unsigned threads, QObject *parent)
}
}
void ThreadPool::AddTicket(RenderTicketPtr ticket, RenderTicketPriority priority) {
void ThreadPool::AddTicket(RenderTicketPtr ticket, RenderTicketPriority priority)
{
std::lock_guard<std::mutex> lock(task_mutex_);
if (priority == RenderTicketPriority::kHigh) {
@@ -59,7 +60,8 @@ bool ThreadPool::RemoveTicket(RenderTicketPtr ticket)
return true;
}
void ThreadPool::thread_exec() {
void ThreadPool::thread_exec()
{
while (true) {
TaskType task;