Codechange: use const auto & instead of making a copy

This commit is contained in:
Rubidium
2025-03-08 20:42:02 +01:00
committed by rubidium42
parent 91d22f7617
commit a23dda7ffe
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1599,7 +1599,7 @@ public:
{
if (src.empty()) return src;
const auto specs = HouseSpec::Specs();
const auto &specs = HouseSpec::Specs();
std::set<PickerItem> dst;
for (const auto &item : src) {
if (item.grfid == 0) {