mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Update #include to deprecated fmt header (#2545)
The <fmt/locale.h> header has been marked as deprecated for a while and has finally been removed in fmt v0.9.0: https://github.com/fmtlib/fmt/commit/5c7d315ded7bdb6cc5bd65daef091eefe Replace with <fmt/format.h> instead, as recommended.
This commit is contained in:
parent
d7de159455
commit
c5a09ebc49
@ -15,7 +15,7 @@
|
|||||||
#if defined(SPDLOG_USE_STD_FORMAT)
|
#if defined(SPDLOG_USE_STD_FORMAT)
|
||||||
# include <format>
|
# include <format>
|
||||||
#elif defined(SPDLOG_FMT_EXTERNAL)
|
#elif defined(SPDLOG_FMT_EXTERNAL)
|
||||||
# include <fmt/locale.h>
|
# include <fmt/format.h>
|
||||||
#else
|
#else
|
||||||
# include "spdlog/fmt/bundled/format.h"
|
# include "spdlog/fmt/bundled/format.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user