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:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user