mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Merge pull request #277 from isildur-g/wip-cppcheck271
phase 1 of addressing cppcheck useStlAlgorithm warnings for fill and copy operations
This commit is contained in:
@@ -1008,9 +1008,9 @@ int HS_CDECL main(int argc, char *argv[]) {
|
||||
if (sigSets.empty()) {
|
||||
SignatureSet sigs;
|
||||
sigs.reserve(exprMapTemplate.size());
|
||||
for (auto i : exprMapTemplate | map_keys) {
|
||||
sigs.push_back(i);
|
||||
}
|
||||
const auto &i = exprMapTemplate | map_keys;
|
||||
std::copy(begin(i), end(i), std::back_inserter(sigs));
|
||||
|
||||
sigSets.emplace_back(exprPath, std::move(sigs));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user