Work around for Clang error in etl::bresenham_line tests.

This commit is contained in:
John Wellbelove 2020-09-12 15:02:02 +01:00
parent e7d58dd52b
commit 1b2aca4606

View File

@ -37,13 +37,19 @@ namespace
using Value = char;
using Point = etl::coordinate_2d<Value>;
}
std::ostream& operator << (std::ostream& os, const etl::coordinate_2d<char>& point)
namespace etl
{
std::ostream& operator << (std::ostream& os, const Point& point)
{
os << "(" << int(point.x) << "," << int(point.y) << ")";
return os;
}
}
namespace
{
using BresenhamLine = etl::bresenham_line<Value>;
SUITE(test_bresenham_line)