lib/fmt/ToBuffer: include fmt/format.h on libfmt 7 to fix linker error
This commit is contained in:
parent
05dcac55f9
commit
7d8c076e06
@ -32,6 +32,9 @@
|
|||||||
#include "util/StringBuffer.hxx"
|
#include "util/StringBuffer.hxx"
|
||||||
|
|
||||||
#include <fmt/core.h>
|
#include <fmt/core.h>
|
||||||
|
#if FMT_VERSION <= 80000
|
||||||
|
#include <fmt/format.h> // for the fmt::buffer::flush() implementation
|
||||||
|
#endif
|
||||||
|
|
||||||
template<std::size_t size>
|
template<std::size_t size>
|
||||||
[[nodiscard]] [[gnu::pure]]
|
[[nodiscard]] [[gnu::pure]]
|
||||||
|
Loading…
Reference in New Issue
Block a user