summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r--src/resources/itemdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index 28830e67..752664d7 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -35,9 +35,9 @@
#include <cassert>
-void setStatsList(const std::list<ItemStat> &stats)
+void setStatsList(std::list<ItemStat> stats)
{
- extraStats = stats;
+ extraStats = std::move(stats);
}
static ItemType itemTypeFromString(const std::string &name, int id = 0)