diff options
Diffstat (limited to 'source/blender/collada/collada_utils.h')
-rw-r--r-- | source/blender/collada/collada_utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/collada/collada_utils.h b/source/blender/collada/collada_utils.h index 61b5e306623..dfd5519be31 100644 --- a/source/blender/collada/collada_utils.h +++ b/source/blender/collada/collada_utils.h @@ -181,9 +181,10 @@ 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) +inline bool bc_endswith(std::string const &value, std::string const &ending) { - if (ending.size() > value.size()) return false; + if (ending.size() > value.size()) + return false; return std::equal(ending.rbegin(), ending.rend(), value.rbegin()); } #endif |