# see https://github.com/owasp-modsecurity/ModSecurity/issues/2254 --- src/utils/geo_lookup.h.orig +++ src/utils/geo_lookup.h @@ -50,7 +50,7 @@ void cleanUp(); bool lookup(const std::string& target, Transaction *transaction, - std::function debug) const; + std::function debug); private: GeoLookup() : --- src/utils/geo_lookup.cc.orig +++ src/utils/geo_lookup.cc @@ -113,7 +113,7 @@ bool GeoLookup::lookup(const std::string& target, Transaction *trans, - std::function debug) const { + std::function debug) { if (m_version == NOT_LOADED) { if (debug) {