fixed incorrect assertion

This commit is contained in:
Klaim (Joël Lamotte) 2025-07-23 14:03:30 +02:00 committed by Joël Lamotte (Klaim)
parent 99d0901dcb
commit ee51065991
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ namespace mamba
{
// THINK: consider only using spdlog to get the loggers
const auto logger_idx = static_cast<size_t>(source);
assert(logger_idx > 0 && logger_idx < loggers.size());
assert(logger_idx >= 0 && logger_idx < loggers.size());
auto& logger = loggers[logger_idx];
assert(logger.logger());
return logger;