fixed assertion

This commit is contained in:
Klaim (Joël Lamotte) 2025-07-23 15:47:36 +02:00 committed by Joël Lamotte (Klaim)
parent ee51065991
commit 2259cee71e
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 < loggers.size());
auto& logger = loggers[logger_idx];
assert(logger.logger());
return logger;