浏览代码

Fix compiler error on linux (#6376)

Vincent Stumpf 3 年之前
父节点
当前提交
a7b4e5fd03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/tool/yamlupgrade.cpp

+ 1 - 1
src/tool/yamlupgrade.cpp

@@ -230,7 +230,7 @@ static bool upgrade_achievement_db(std::string file, const uint32 source_version
 static bool upgrade_item_db(std::string file, const uint32 source_version) {
 	size_t entries = 0;
 
-	for( auto &input : inNode["Body"] ){
+	for( auto input : inNode["Body"] ){
 		// If under version 2
 		if( source_version < 2 ){
 			// Add armor level to all equipments