Fix std::formatter specializations

This commit is contained in:
Jeremy 2023-09-20 18:20:52 -04:00
parent d1af192a3c
commit 99790a03c3
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -249,8 +249,6 @@ namespace cpptrace {
}; };
} }
#endif
#ifdef __cpp_lib_format #ifdef __cpp_lib_format
template <> template <>
struct std::formatter<cpptrace::stacktrace_frame> : std::formatter<std::string> { struct std::formatter<cpptrace::stacktrace_frame> : std::formatter<std::string> {
@ -266,3 +264,5 @@ struct std::formatter<cpptrace::stacktrace> : std::formatter<std::string> {
} }
}; };
#endif #endif
#endif