diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:04:47 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-04 13:04:47 +0300 |
commit | 8057ab10db5945db18ccb45265b91ce120ae0be5 (patch) | |
tree | 974381c1d2264099848b2c1c5ed8a469a980a32e /source/blender/io/collada/MeshImporter.cpp | |
parent | 371ddda4d0b3c2ef0c40f604715db801dc33b669 (diff) |
Cleanup: Clang-Tidy readability-const-return-type fixes
No functional changes.
Diffstat (limited to 'source/blender/io/collada/MeshImporter.cpp')
-rw-r--r-- | source/blender/io/collada/MeshImporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/MeshImporter.cpp b/source/blender/io/collada/MeshImporter.cpp index 9fbb7324f8f..a0d0507d472 100644 --- a/source/blender/io/collada/MeshImporter.cpp +++ b/source/blender/io/collada/MeshImporter.cpp @@ -48,7 +48,7 @@ #include "collada_utils.h" // get node name, or fall back to original id if not present (name is optional) -template<class T> static const std::string bc_get_dae_name(T *node) +template<class T> static std::string bc_get_dae_name(T *node) { return node->getName().empty() ? node->getOriginalId() : node->getName(); } |