Skip to content

Commit 4f42af3

Browse files
committed
Fix g++ build.
1 parent 117f02c commit 4f42af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Test/TestManager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace std
3636
struct formatter<Geometry::Triangle>
3737
{
3838
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
39-
auto format(const Geometry::Triangle& v, format_context& ctx) { return format_to(ctx.out(), "({}, {}, {})", v.m_point_1, v.m_point_2, v.m_point_3); }
39+
auto format(const Geometry::Triangle& v, format_context& ctx) const { return format_to(ctx.out(), "({}, {}, {})", v.m_point_1, v.m_point_2, v.m_point_3); }
4040
};
4141
}
4242

0 commit comments

Comments
 (0)