mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00

std::distance internally runs a loop, which may or may not be optimized away. Just use simple arithmetic. Signed-off-by: Rosen Penev <rosenp@gmail.com>