gcontini
2019-09-21 0ec4d68600b83d41d2e48ad35d18e2a00f234619
src/library/base/EventRegistry.cpp
@@ -51,7 +51,7 @@
}
AuditEvent const * EventRegistry::getLastFailure() const {
   const AuditEvent* result = NULL;
   const AuditEvent* result = nullptr;
   if (logs.size() == 0) {
      return result;
   }
@@ -113,7 +113,7 @@
}
void EventRegistry::exportLastEvents(AuditEvent* auditEvents, int nlogs) {
   int sizeToCopy = min(nlogs, (int) logs.size());
   const int sizeToCopy = min(nlogs, (int) logs.size());
   std::copy(logs.begin(), logs.begin() + sizeToCopy, auditEvents);
}
}