From e5ffefe606092c848e25894ccead21f0de42510f Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 19 Mar 2021 14:26:24 +0100 Subject: Cleanup: Use enum class for DataType. --- source/blender/compositor/operations/COM_ChangeHSVOperation.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/compositor/operations/COM_ChangeHSVOperation.cc') diff --git a/source/blender/compositor/operations/COM_ChangeHSVOperation.cc b/source/blender/compositor/operations/COM_ChangeHSVOperation.cc index 6bc9fa53c31..e53a416f0dd 100644 --- a/source/blender/compositor/operations/COM_ChangeHSVOperation.cc +++ b/source/blender/compositor/operations/COM_ChangeHSVOperation.cc @@ -20,11 +20,11 @@ ChangeHSVOperation::ChangeHSVOperation() { - this->addInputSocket(COM_DT_COLOR); - this->addInputSocket(COM_DT_VALUE); - this->addInputSocket(COM_DT_VALUE); - this->addInputSocket(COM_DT_VALUE); - this->addOutputSocket(COM_DT_COLOR); + this->addInputSocket(DataType::Color); + this->addInputSocket(DataType::Value); + this->addInputSocket(DataType::Value); + this->addInputSocket(DataType::Value); + this->addOutputSocket(DataType::Color); this->m_inputOperation = nullptr; } -- cgit v1.2.3