mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
d93cea97ec
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) |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
example.cpp |