summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJ0anJosep <juanjo.ng.83@gmail.com>2020-12-24 17:10:44 +0100
committerCharles Pigott <charlespigott@googlemail.com>2020-12-27 18:40:18 +0000
commitedbb5f4f737e2670faa1ac392fe179b7278921ec (patch)
tree2f12d2cb664bb99dd440753091e1f81f6e00b8fc /src
parente0161cf8da063f3cb6fa5283b2616bc8cde0438f (diff)
downloadopenttd-edbb5f4f737e2670faa1ac392fe179b7278921ec.tar.xz
Doc: Remove some SmallVector references from documentation.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_class.h4
-rw-r--r--src/tunnelbridge_cmd.cpp2
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.