diff options
| author | 2026-03-29 18:22:50 +0100 | |
|---|---|---|
| committer | 2026-03-29 18:22:50 +0100 | |
| commit | ad096125ae65e198e3f12ebe0d5583382bdf7685 (patch) | |
| tree | bea5c19063d576735142e61179712f5e611879f2 /src/logging.cpp | |
| parent | Fix various minor Doxygen issues. (diff) | |
Replace some C-style array usage with Modern C++.
Diffstat (limited to 'src/logging.cpp')
| -rw-r--r-- | src/logging.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/logging.cpp b/src/logging.cpp index f0012052a..4cb5b3a6b 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -298,8 +298,7 @@ void Log::Manager::OpenLogs(bool requiremethods) void Log::Manager::RegisterServices() { - Service::Provider* coreloggers[] = { &filelog, &stderrlog, &stdoutlog }; - ServerInstance->Modules.AddServices(coreloggers, sizeof(coreloggers)/sizeof(Service::Provider*)); + ServerInstance->Modules.AddService(filelog, stderrlog, stdoutlog); } void Log::Manager::UnloadEngine(const Engine* engine) |
