fix: fixed_string compilation fixed

This commit is contained in:
Mateusz Pusz
2024-04-22 20:46:40 +02:00
parent 031fa62e36
commit 3a16a020e7

View File

@@ -34,6 +34,17 @@
#include <cstdlib>
#include <ostream>
#include <string_view>
#if MP_UNITS_USE_FMTLIB
MP_UNITS_DIAGNOSTIC_PUSH
MP_UNITS_DIAGNOSTIC_IGNORE_UNREACHABLE
MP_UNITS_DIAGNOSTIC_IGNORE_SHADOW
#include <fmt/format.h>
MP_UNITS_DIAGNOSTIC_POP
#else
#include <format>
#endif
#endif
MP_UNITS_EXPORT