diff options
Diffstat (limited to 'source/blender/compositor/intern/COM_CPUDevice.h')
-rw-r--r-- | source/blender/compositor/intern/COM_CPUDevice.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/source/blender/compositor/intern/COM_CPUDevice.h b/source/blender/compositor/intern/COM_CPUDevice.h index 36016a44252..d82046a729f 100644 --- a/source/blender/compositor/intern/COM_CPUDevice.h +++ b/source/blender/compositor/intern/COM_CPUDevice.h @@ -26,19 +26,22 @@ * \note for every hardware thread in the system a CPUDevice instance will exist in the workscheduler */ class CPUDevice : public Device { -public: - CPUDevice(int thread_id); + public: + CPUDevice(int thread_id); - /** - * \brief execute a WorkPackage - * \param work: the WorkPackage to execute - */ - void execute(WorkPackage *work); + /** + * \brief execute a WorkPackage + * \param work: the WorkPackage to execute + */ + void execute(WorkPackage *work); - int thread_id() { return m_thread_id; } + int thread_id() + { + return m_thread_id; + } -protected: - int m_thread_id; + protected: + int m_thread_id; }; #endif |