mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
Work around for Clang error in etl::bresenham_line tests.
This commit is contained in:
parent
e7d58dd52b
commit
1b2aca4606
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user