OpenTTD

Tasklist

FS#6649 - Modernizing for C++11: replacing instances of SmallVector

Attached to Project: OpenTTD
Opened by Henry (M3Henry) - Tuesday, 02 January 2018, 21:55 GMT
Type Patch
Category Core
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

After discussions on IRC about modernising the code to make it easier to work on, replacing non time-critical instances of SmallVector<T,S> with std::vector<T> was deemed more practical than making SmallVector STL-like.

This allows use of range-based for loops and STL algorithms to improve expressiveness in the code base.

No changes to functionality have been made.
Patches are based on r27956.
This task depends upon

Loading...