diff options
author | Jacques Lucke <jacques@blender.org> | 2020-06-11 12:21:37 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-06-11 12:21:51 +0300 |
commit | 95aa8ffed56e7bd1784bab64e82c82c4e855ae48 (patch) | |
tree | 3f2ddf8e1653831304f8efb8488cf4a3d2095dff /source/blender/blenlib/BLI_map.hh | |
parent | 665acd29039b278b6de87121b458675ab025ee33 (diff) |
BLI: fix printing name in print_stats methods of Map, Set and VectorSet
Diffstat (limited to 'source/blender/blenlib/BLI_map.hh')
-rw-r--r-- | source/blender/blenlib/BLI_map.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_map.hh b/source/blender/blenlib/BLI_map.hh index 48cbcb4e3e9..4fc9f98d835 100644 --- a/source/blender/blenlib/BLI_map.hh +++ b/source/blender/blenlib/BLI_map.hh @@ -843,7 +843,7 @@ class Map { void print_stats(StringRef name = "") const { HashTableStats stats(*this, this->keys()); - stats.print(); + stats.print(name); } /** @@ -894,7 +894,7 @@ class Map { */ uint32_t size_in_bytes() const { - return sizeof(Slot) * m_slots.size(); + return (uint32_t)(sizeof(Slot) * m_slots.size()); } /** |