diff options
Diffstat (limited to 'source/blender/blenlib/BLI_map_slots.hh')
-rw-r--r-- | source/blender/blenlib/BLI_map_slots.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_map_slots.hh b/source/blender/blenlib/BLI_map_slots.hh index 1b4ca11af41..7658ae51fd9 100644 --- a/source/blender/blenlib/BLI_map_slots.hh +++ b/source/blender/blenlib/BLI_map_slots.hh @@ -196,7 +196,7 @@ template<typename Key, typename Value> class SimpleMapSlot { * constructed by calling the constructor with the given key/value as parameter. */ template<typename ForwardKey, typename... ForwardValue> - void occupy(ForwardKey &&key, uint64_t hash, ForwardValue &&... value) + void occupy(ForwardKey &&key, uint64_t hash, ForwardValue &&...value) { BLI_assert(!this->is_occupied()); new (&value_buffer_) Value(std::forward<ForwardValue>(value)...); @@ -316,7 +316,7 @@ template<typename Key, typename Value, typename KeyInfo> class IntrusiveMapSlot } template<typename ForwardKey, typename... ForwardValue> - void occupy(ForwardKey &&key, uint64_t hash, ForwardValue &&... value) + void occupy(ForwardKey &&key, uint64_t hash, ForwardValue &&...value) { BLI_assert(!this->is_occupied()); BLI_assert(KeyInfo::is_not_empty_or_removed(key)); |