diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/compositor/intern/COM_CPUDevice.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
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 |