Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-07-08 23:29:10 +0300
committerJacques Lucke <jacques@blender.org>2020-07-08 23:30:23 +0300
commit31bc76ea4e4b83a728b88735bee48019125b4c54 (patch)
treea9a86d604b3cfb74edee2286ad309f0f43c0d445 /source/blender/functions/FN_multi_function_network.hh
parent403384998a6bb5f428e15ced5503206b45032b25 (diff)
Cleanup: remove unnecessary calls to as_span
This uses the new implicit conversions and constructors that have been committed in the previous commit. I tested these changes on Linux with gcc and on Windows.
Diffstat (limited to 'source/blender/functions/FN_multi_function_network.hh')
-rw-r--r--source/blender/functions/FN_multi_function_network.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/functions/FN_multi_function_network.hh b/source/blender/functions/FN_multi_function_network.hh
index 493b26e6510..42f24d9c44c 100644
--- a/source/blender/functions/FN_multi_function_network.hh
+++ b/source/blender/functions/FN_multi_function_network.hh
@@ -481,7 +481,7 @@ inline Span<MFInputSocket *> MFOutputSocket::targets()
inline Span<const MFInputSocket *> MFOutputSocket::targets() const
{
- return targets_.as_span();
+ return targets_;
}
/* --------------------------------------------------------------------