mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-03 21:13:50 +03:00
Places the classes related to audit log into a separate namespace
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
#include "parser/driver.h"
|
||||
|
||||
#include "parser/seclang-parser.hh"
|
||||
#include "src/audit_log.h"
|
||||
#include "audit_log/audit_log.h"
|
||||
|
||||
using modsecurity::AuditLog;
|
||||
using modsecurity::audit_log::AuditLog;
|
||||
using modsecurity::Rule;
|
||||
|
||||
namespace modsecurity {
|
||||
@@ -27,7 +27,7 @@ namespace Parser {
|
||||
Driver::Driver()
|
||||
: trace_scanning(false),
|
||||
trace_parsing(false) {
|
||||
audit_log = new AuditLog();
|
||||
audit_log = new audit_log::AuditLog();
|
||||
audit_log->refCountIncrease();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user