Cosmetics: address cppcheck warnings on src/operators

This commit is contained in:
Felipe Zimmerle
2020-01-23 08:10:05 -03:00
parent 9101a8ab15
commit ff590174da
27 changed files with 120 additions and 90 deletions

View File

@@ -106,7 +106,7 @@ bool GeoLookup::setDataBase(const std::string& filePath,
bool GeoLookup::lookup(const std::string& target, Transaction *trans,
std::function<bool(int, std::string)> debug) const {
std::function<bool(int, const std::string &)> debug) const {
if (m_version == NOT_LOADED) {
if (debug) {

View File

@@ -50,7 +50,7 @@ class GeoLookup {
void cleanUp();
bool lookup(const std::string& target, Transaction *transaction,
std::function<bool(int, std::string)> debug) const;
std::function<bool(int, const std::string &)> debug) const;
private:
GeoLookup() :