diff options
Diffstat (limited to 'source/blender/collada/collada_utils.h')
-rw-r--r-- | source/blender/collada/collada_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/collada_utils.h b/source/blender/collada/collada_utils.h index 240e6200cf3..5c90e762373 100644 --- a/source/blender/collada/collada_utils.h +++ b/source/blender/collada/collada_utils.h @@ -180,8 +180,9 @@ inline bool bc_startswith(std::string const &value, std::string const &starting) #if 0 /* UNUSED */ inline bool bc_endswith(std::string const &value, std::string const &ending) { - if (ending.size() > value.size()) + if (ending.size() > value.size()) { return false; + } return std::equal(ending.rbegin(), ending.rend(), value.rbegin()); } #endif |