diff options
Diffstat (limited to 'source/core/StarWeightedPool.hpp')
-rw-r--r-- | source/core/StarWeightedPool.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarWeightedPool.hpp b/source/core/StarWeightedPool.hpp index c335d31..ce09f40 100644 --- a/source/core/StarWeightedPool.hpp +++ b/source/core/StarWeightedPool.hpp @@ -69,7 +69,7 @@ void WeightedPool<Item>::add(double weight, Item item) { if (weight <= 0.0) return; - m_items.append({weight, move(item)}); + m_items.append({weight, std::move(item)}); m_totalWeight += weight; } |