mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 09:31:53 +03:00
Cosmetics: address cppcheck warnings on src/operators
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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() :
|
||||
|
||||
Reference in New Issue
Block a user