diff options
Diffstat (limited to 'source/blender/blenlib/BLI_map.hh')
-rw-r--r-- | source/blender/blenlib/BLI_map.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_map.hh b/source/blender/blenlib/BLI_map.hh index d5bc53c4d6c..9fc5614c189 100644 --- a/source/blender/blenlib/BLI_map.hh +++ b/source/blender/blenlib/BLI_map.hh @@ -1314,7 +1314,7 @@ template<typename Key, typename Value> class StdUnorderedMapWrapper { bool remove(const Key &key) { - return (bool)map_.erase(key); + return bool(map_.erase(key)); } Value &lookup(const Key &key) |