Reserve vector size when loading station flow stats

This commit is contained in:
Jonathan G Rennison
2023-08-19 17:06:43 +01:00
parent 0f9f1f4280
commit 615c42d357
2 changed files with 6 additions and 0 deletions

View File

@@ -493,6 +493,11 @@ public:
return this->flows_index.begin()->first;
}
void reserve(size_t size)
{
this->flows_storage.reserve(size);
}
void SortStorage();
};