Fix std::formatter specializations
This commit is contained in:
parent
d1af192a3c
commit
99790a03c3
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user