Workaround for gcc 6 (#3810)

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov authored and GitHub committed 2024-01-15 08:58:19 -08:00
1 parent 73d91351b4
commit d249fd9f84
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -179,7 +179,8 @@ For example::
struct fmt::formatter<point> : nested_formatter<double> {
auto format(point p, format_context& ctx) const {
return write_padded(ctx, [=](auto out) {
return format_to(out, "({}, {})", nested(p.x), nested(p.y));
return format_to(out, "({}, {})", this->nested(p.x),
this->nested(p.y));
});
}
};