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_WorkPackage.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_WorkPackage.h')
-rw-r--r-- | source/blender/compositor/intern/COM_WorkPackage.h | 57 |
1 files changed, 32 insertions, 25 deletions
diff --git a/source/blender/compositor/intern/COM_WorkPackage.h b/source/blender/compositor/intern/COM_WorkPackage.h index fc2a4167952..2a0e47301f5 100644 --- a/source/blender/compositor/intern/COM_WorkPackage.h +++ b/source/blender/compositor/intern/COM_WorkPackage.h @@ -28,36 +28,43 @@ class ExecutionGroup; * \see WorkScheduler */ class WorkPackage { -private: - /** - * \brief executionGroup with the operations-setup to be evaluated - */ - ExecutionGroup *m_executionGroup; + private: + /** + * \brief executionGroup with the operations-setup to be evaluated + */ + ExecutionGroup *m_executionGroup; - /** - * \brief number of the chunk to be executed - */ - unsigned int m_chunkNumber; -public: - /** - * constructor - * \param group: the ExecutionGroup - * \param chunkNumber: the number of the chunk - */ - WorkPackage(ExecutionGroup *group, unsigned int chunkNumber); + /** + * \brief number of the chunk to be executed + */ + unsigned int m_chunkNumber; - /** - * \brief get the ExecutionGroup - */ - ExecutionGroup *getExecutionGroup() const { return this->m_executionGroup; } + public: + /** + * constructor + * \param group: the ExecutionGroup + * \param chunkNumber: the number of the chunk + */ + WorkPackage(ExecutionGroup *group, unsigned int chunkNumber); - /** - * \brief get the number of the chunk - */ - unsigned int getChunkNumber() const { return this->m_chunkNumber; } + /** + * \brief get the ExecutionGroup + */ + ExecutionGroup *getExecutionGroup() const + { + return this->m_executionGroup; + } + + /** + * \brief get the number of the chunk + */ + unsigned int getChunkNumber() const + { + return this->m_chunkNumber; + } #ifdef WITH_CXX_GUARDEDALLOC - MEM_CXX_CLASS_ALLOC_FUNCS("COM:WorkPackage") + MEM_CXX_CLASS_ALLOC_FUNCS("COM:WorkPackage") #endif }; |