diff --git a/src/newgrf_class.h b/src/newgrf_class.h --- 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 classes[Tmax]; diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -719,7 +719,7 @@ CommandCost CmdBuildTunnel(TileIndex sta /* 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.