Codechange: Replaced SmallVector::Resize() with std::vector::resize()

This commit is contained in:
Henry Wilson
2018-09-23 16:43:00 +01:00
committed by PeterN
parent a690936ed7
commit bad2c2154b
5 changed files with 4 additions and 13 deletions

View File

@@ -179,7 +179,7 @@ LinkGraphJob::~LinkGraphJob()
void LinkGraphJob::Init()
{
uint size = this->Size();
this->nodes.Resize(size);
this->nodes.resize(size);
this->edges.Resize(size, size);
for (uint i = 0; i < size; ++i) {
this->nodes[i].Init(this->link_graph[i].Supply());