diff options
author | Henry Wilson <m3henry@googlemail.com> | 2018-09-23 16:43:00 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-03-26 20:15:57 +0000 |
commit | bad2c2154b97613bd6a045cfe1f05cff876da1e4 (patch) | |
tree | 2c3281a3c95ca1601966780e42847f3225830a5d /src/linkgraph/linkgraph.cpp | |
parent | a690936ed75e96627be0e2ecafee2360a71e8d3c (diff) | |
download | openttd-bad2c2154b97613bd6a045cfe1f05cff876da1e4.tar.xz |
Codechange: Replaced SmallVector::Resize() with std::vector::resize()
Diffstat (limited to 'src/linkgraph/linkgraph.cpp')
-rw-r--r-- | src/linkgraph/linkgraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linkgraph/linkgraph.cpp b/src/linkgraph/linkgraph.cpp index 34b3a4aa0..eee7ac61f 100644 --- a/src/linkgraph/linkgraph.cpp +++ b/src/linkgraph/linkgraph.cpp @@ -281,7 +281,7 @@ void LinkGraph::Init(uint size) { assert(this->Size() == 0); this->edges.Resize(size, size); - this->nodes.Resize(size); + this->nodes.resize(size); for (uint i = 0; i < size; ++i) { this->nodes[i].Init(); |