Fix for non-fmtlib related linux build failure

This commit is contained in:
Uleat
2019-09-05 21:01:47 -04:00
parent eefe0dfbb7
commit 96103b09e0
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -401,7 +401,7 @@ bool RuleManager::UpdateInjectedRules(Database *db, const char *ruleset_name, bo
}
// build database data entries
for (auto &row : results) {
for (auto row : results) {
database_data.push_back(std::string(row[0]));
}
@@ -519,7 +519,7 @@ bool RuleManager::UpdateOrphanedRules(Database *db, bool quiet_update)
}
// build orphaned entries
for (auto &row : results) {
for (auto row : results) {
const auto &rd_iter = std::find(rule_data.begin(), rule_data.end(), row[0]);
if (rd_iter == rule_data.end()) {