1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-07 20:25:08 +02:00

Remove redundand vector#reserve()

This commit is contained in:
Alexander A. Klimov 2019-06-27 15:03:14 +02:00 committed by Michael Friedrich
parent 7d0fc91c1b
commit 0534141aaf

@ -125,7 +125,6 @@ void RedisWriter::UpdateAllConfigObjects()
std::vector<String> keys = GetTypeObjectKeys(lcType);
DeleteKeys(keys);
keys.reserve(globalKeys.size());
keys.insert(keys.end(), globalKeys.begin(), globalKeys.end());
std::vector<Array::Ptr> objectChunks = ChunkObjects(type.first->GetObjects(), 500);