fmt::join support FMT_COMPILE (#2720)

This commit is contained in:
Vladislav Shchapov authored and GitHub committed 2022-01-14 09:58:49 -08:00
1 parent 58fb782396
commit b02e5af52c
3 files changed
+9 -4

No files matched your search

+2 -2
View File
@@ -2818,8 +2818,8 @@ struct formatter<join_view<It, Sentinel, Char>, Char> {
}
template <typename FormatContext>
auto format(const join_view<It, Sentinel, Char>& value, FormatContext& ctx)
-> decltype(ctx.out()) {
auto format(const join_view<It, Sentinel, Char>& value,
FormatContext& ctx) const -> decltype(ctx.out()) {
auto it = value.begin;
auto out = ctx.out();
if (it != value.end) {