File diff r28024:510529c5fc82 → r28025:9116d6e411b0
src/rail_gui.cpp
Show inline comments
 
@@ -2384,7 +2384,7 @@ DropDownList GetRailTypeDropDownList(boo
 
		}
 
	}
 

	
 
	if (list.size() == 0) {
 
	if (list.empty()) {
 
		/* Empty dropdowns are not allowed */
 
		list.push_back(std::make_unique<DropDownListStringItem>(STR_NONE, INVALID_RAILTYPE, true));
 
	}