Cosmetics: fix some cppcheck complains

This commit is contained in:
Felipe Zimmerle
2020-04-29 10:19:49 -03:00
parent 42ec74fcac
commit f7e9039f20
21 changed files with 164 additions and 52 deletions

View File

@@ -56,6 +56,13 @@ class Rule {
}
Rule &operator=(const Rule& other) {
m_fileName = other.m_fileName;
m_lineNumber = other.m_lineNumber;
m_phase = other.m_phase;
return *this;
}
virtual bool evaluate(Transaction *transaction) = 0;
std::shared_ptr<std::string> getFileName() const {