diff options
Diffstat (limited to 'arm_compute/runtime/CPP/CPPScheduler.h')
-rw-r--r-- | arm_compute/runtime/CPP/CPPScheduler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/runtime/CPP/CPPScheduler.h b/arm_compute/runtime/CPP/CPPScheduler.h index 8351f0cbdd..17da7aeb78 100644 --- a/arm_compute/runtime/CPP/CPPScheduler.h +++ b/arm_compute/runtime/CPP/CPPScheduler.h @@ -26,7 +26,7 @@ #include "arm_compute/runtime/IScheduler.h" -#include <memory> +#include <list> namespace arm_compute { @@ -67,8 +67,8 @@ private: /** Constructor: create a pool of threads. */ CPPScheduler(); - unsigned int _num_threads; - std::unique_ptr<Thread[], void (*)(Thread *)> _threads; + unsigned int _num_threads; + std::list<Thread> _threads; }; } #endif /* __ARM_COMPUTE_CPPSCHEDULER_H__ */ |