Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-12-09 18:29:11 +0300
committerJacques Lucke <jacques@blender.org>2020-12-09 18:29:11 +0300
commitc93f826661334926fc15504243f61c85242bec42 (patch)
tree80b49e2b1aefcf177c1bb745f2501a660260b9aa /source/blender/blenlib/intern/task_pool.cc
parent4a5f36638b0244b586607e76451669ffbc3c1174 (diff)
Cleanup: various clang tidy fixes
Diffstat (limited to 'source/blender/blenlib/intern/task_pool.cc')
-rw-r--r--source/blender/blenlib/intern/task_pool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/task_pool.cc b/source/blender/blenlib/intern/task_pool.cc
index 142496dce20..dfed24da2d9 100644
--- a/source/blender/blenlib/intern/task_pool.cc
+++ b/source/blender/blenlib/intern/task_pool.cc
@@ -149,13 +149,13 @@ class TBBTaskGroup : public tbb::task_group {
/* Task Pool */
-typedef enum TaskPoolType {
+enum TaskPoolType {
TASK_POOL_TBB,
TASK_POOL_TBB_SUSPENDED,
TASK_POOL_NO_THREADS,
TASK_POOL_BACKGROUND,
TASK_POOL_BACKGROUND_SERIAL,
-} TaskPoolType;
+};
struct TaskPool {
TaskPoolType type;