diff options
Diffstat (limited to 'source/blender/compositor/intern/COM_SingleThreadedOperation.cpp')
-rw-r--r-- | source/blender/compositor/intern/COM_SingleThreadedOperation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/intern/COM_SingleThreadedOperation.cpp b/source/blender/compositor/intern/COM_SingleThreadedOperation.cpp index 029be6d44b1..5febf3802de 100644 --- a/source/blender/compositor/intern/COM_SingleThreadedOperation.cpp +++ b/source/blender/compositor/intern/COM_SingleThreadedOperation.cpp @@ -18,9 +18,9 @@ #include "COM_SingleThreadedOperation.h" -SingleThreadedOperation::SingleThreadedOperation() : NodeOperation() +SingleThreadedOperation::SingleThreadedOperation() { - this->m_cachedInstance = NULL; + this->m_cachedInstance = nullptr; setComplex(true); } @@ -39,7 +39,7 @@ void SingleThreadedOperation::deinitExecution() deinitMutex(); if (this->m_cachedInstance) { delete this->m_cachedInstance; - this->m_cachedInstance = NULL; + this->m_cachedInstance = nullptr; } } void *SingleThreadedOperation::initializeTileData(rcti *rect) @@ -49,7 +49,7 @@ void *SingleThreadedOperation::initializeTileData(rcti *rect) } lockMutex(); - if (this->m_cachedInstance == NULL) { + if (this->m_cachedInstance == nullptr) { // this->m_cachedInstance = createMemoryBuffer(rect); } |