mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 01:50:35 +00:00
before this change, we rely on the default-generated fmt::formatter created from operator<<, but fmt v10 dropped the default-generated formatter. also, it's impossible to partial specialize a nested type of a template class, we cannot specialize the `fmt::formatter` for `stop_crash<M>::result_type`, as a workaround, a new type is added. in this change, * define a new type named `stop_crash_result` * add fmt::formatter for `stop_crash_result` * define stop_crash::result_type as an alias of `stop_crash_result` Refs #13245 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#18018