diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:00:50 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | ea79efef70da14100b591b50dcada819808f20b6 (patch) | |
tree | 4faf296870f1ab27ee33fee2b331fdb6b2d2bec4 /source/blender/compositor/operations/COM_MathBaseOperation.h | |
parent | ecb8a574c752068de9f8d9eb98f54db1569df2f7 (diff) |
Cleanup: remove `this->` for `m_` prefixed members in Compositor
For cleaning old code style as new code usually omit it.
Diffstat (limited to 'source/blender/compositor/operations/COM_MathBaseOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_MathBaseOperation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_MathBaseOperation.h b/source/blender/compositor/operations/COM_MathBaseOperation.h index 0188eb50fa8..1424a7a9769 100644 --- a/source/blender/compositor/operations/COM_MathBaseOperation.h +++ b/source/blender/compositor/operations/COM_MathBaseOperation.h @@ -48,7 +48,7 @@ class MathBaseOperation : public MultiThreadedOperation { float clamp_when_enabled(float value) { - if (this->m_useClamp) { + if (m_useClamp) { return CLAMPIS(value, 0.0f, 1.0f); } return value; @@ -56,7 +56,7 @@ class MathBaseOperation : public MultiThreadedOperation { void clamp_when_enabled(float *out) { - if (this->m_useClamp) { + if (m_useClamp) { CLAMP(*out, 0.0f, 1.0f); } } @@ -79,7 +79,7 @@ class MathBaseOperation : public MultiThreadedOperation { void setUseClamp(bool value) { - this->m_useClamp = value; + m_useClamp = value; } void update_memory_buffer_partial(MemoryBuffer *output, |