fixed silly compiler issues under linux and gcc
This commit is contained in:
@@ -136,14 +136,14 @@ namespace Plotta
|
||||
}
|
||||
|
||||
template<>
|
||||
static plottastream& operator<<(plottastream& stream, const float& value)
|
||||
inline plottastream& operator<<(plottastream& stream, const float& value)
|
||||
{
|
||||
return stream << (isnan(value) ? "float(\"nan\")" : std::to_string(value));
|
||||
}
|
||||
|
||||
template<>
|
||||
static plottastream& operator<<(plottastream& stream, const Point2& value)
|
||||
inline plottastream& operator<<(plottastream& stream, const Point2& value)
|
||||
{
|
||||
return stream << std::initializer_list<float>{ value.x, value.y };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user