Codechange: Replace SmallVector::Clear() with std::vector::clear()

This commit is contained in:
Henry Wilson
2018-09-20 23:44:14 +01:00
committed by PeterN
parent 4b349c0f90
commit bfd79e59dc
47 changed files with 80 additions and 88 deletions

View File

@@ -167,7 +167,7 @@ RailType AllocateRailType(RailTypeLabel label)
/* Set up new rail type */
*rti = _original_railtypes[RAILTYPE_RAIL];
rti->label = label;
rti->alternate_labels.Clear();
rti->alternate_labels.clear();
/* Make us compatible with ourself. */
rti->powered_railtypes = (RailTypes)(1LL << rt);