diff options
-rw-r--r-- | src/newgrf_class.h | 4 | ||||
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_class.h b/src/newgrf_class.h index 7610cfb9d..4bac546d3 100644 --- a/src/newgrf_class.h +++ b/src/newgrf_class.h @@ -24,8 +24,8 @@ private: /** * The actual classes. - * @note We store pointers to membes of this array in various places outside this class (e.g. to 'name' for GRF string resolving). - * Thus this must be a static array, and cannot be a self-resizing SmallVector or similar. + * @note We store pointers to members of this array in various places outside this class (e.g. to 'name' for GRF string resolving). + * Thus this must be a static array, and cannot be a self-resizing vector or similar. */ static NewGRFClass<Tspec, Tid, Tmax> classes[Tmax]; diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 47bb34f19..0423cde1f 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -719,7 +719,7 @@ CommandCost CmdBuildTunnel(TileIndex start_tile, DoCommandFlag flags, uint32 p1, /* CMD_TERRAFORM_LAND may append further items to _cleared_object_areas, * however it will never erase or re-order existing items. - * _cleared_object_areas is a value-type SmallVector, therefore appending items + * _cleared_object_areas is a value-type self-resizing vector, therefore appending items * may result in a backing-store re-allocation, which would invalidate the coa pointer. * The index of the coa pointer into the _cleared_object_areas vector remains valid, * and can be used safely after the CMD_TERRAFORM_LAND operation. |