Doc: Remove some SmallVector references from documentation.

pull/217/head
J0anJosep 3 years ago committed by Charles Pigott
parent e0161cf8da
commit edbb5f4f73

@ -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];

@ -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.

Loading…
Cancel
Save