From 4e1f76fae58a7e0db111ec68e616e6ea3222f726 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 13 10月 2019 16:17:06 +0800 Subject: [PATCH] fix windows tests --- src/library/base/EventRegistry.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/base/EventRegistry.cpp b/src/library/base/EventRegistry.cpp index 7c21d6f..389ee42 100644 --- a/src/library/base/EventRegistry.cpp +++ b/src/library/base/EventRegistry.cpp @@ -10,9 +10,9 @@ #include <string.h> #include <algorithm> +namespace license { using namespace std; -namespace license { EventRegistry::EventRegistry() { } @@ -51,7 +51,7 @@ } AuditEvent const * EventRegistry::getLastFailure() const { - const AuditEvent* result = NULL; + const AuditEvent* result = nullptr; if (logs.size() == 0) { return result; } -- Gitblit v1.9.1