mirror of
https://github.com/gabime/spdlog.git
synced 2026-04-10 11:34:29 +08:00
When trying to use spdlog/fmt/bin_to_hex.h in the same compile unit as spdlog/fmt/bundled/ranges.h you got a compile error because there was a multiple definitions for iterable classes. This fix renames the begin() and end() getters in dump_info into getBegin()/getEnd() in order to avoid this collision. Added an example of ranges in example.cpp to show that it actually works (an to_hex example was already there)
12 KiB
12 KiB