mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
fix: fixed_string
compilation fixed
This commit is contained in:
@@ -34,6 +34,17 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <string_view>
|
#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
|
#endif
|
||||||
|
|
||||||
MP_UNITS_EXPORT
|
MP_UNITS_EXPORT
|
||||||
|
Reference in New Issue
Block a user