Apply coding conventions

This commit is contained in:
Victor Zverovich
2023-11-30 08:24:02 -08:00
parent 2a8a694466
commit 8f83ee2ad1
3 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ struct formatter<std::optional<T>, Char,
}
template <typename FormatContext>
auto format(std::optional<T> const& opt, FormatContext& ctx) const
auto format(const std::optional<T>& opt, FormatContext& ctx) const
-> decltype(ctx.out()) {
if (!opt) return detail::write<Char>(ctx.out(), none);