diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-26 17:18:28 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-26 17:51:06 +0300 |
commit | 930b8a39326f39e87318c42437a5ec249d01dda4 (patch) | |
tree | e8c2be5f0093debb1b04d62920ceb2714cd3c3c9 /source/blender/compositor/intern/COM_NodeOperation.h | |
parent | 9d80b3a69c490ed9d68173766872e341e6cf4245 (diff) |
Cleanup: Replace std::vector With blender::Vector.
Diffstat (limited to 'source/blender/compositor/intern/COM_NodeOperation.h')
-rw-r--r-- | source/blender/compositor/intern/COM_NodeOperation.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/compositor/intern/COM_NodeOperation.h b/source/blender/compositor/intern/COM_NodeOperation.h index d7321fe8df8..3836268c63c 100644 --- a/source/blender/compositor/intern/COM_NodeOperation.h +++ b/source/blender/compositor/intern/COM_NodeOperation.h @@ -80,13 +80,9 @@ enum class PixelSampler { * \ingroup Model */ class NodeOperation { - public: - typedef std::vector<NodeOperationInput *> Inputs; - typedef std::vector<NodeOperationOutput *> Outputs; - private: - Inputs m_inputs; - Outputs m_outputs; + blender::Vector<NodeOperationInput *> m_inputs; + blender::Vector<NodeOperationOutput *> m_outputs; /** * \brief the index of the input socket that will be used to determine the resolution @@ -162,7 +158,7 @@ class NodeOperation { */ bool isInputOperation() const { - return m_inputs.empty(); + return m_inputs.is_empty(); } /** @@ -279,8 +275,6 @@ class NodeOperation { } } - void getConnectedInputSockets(Inputs *sockets); - /** * \brief is this operation complex * |