color_t: Mark operator<< inline to avoid link errors

This commit is contained in:
Celtic Minstrel 2016-11-27 01:09:12 -05:00
parent 4c56159dc1
commit 25c9b67a5d

View file

@ -204,7 +204,7 @@ struct color_t
}
};
std::ostream& operator<<(std::ostream& s, const color_t& c)
inline std::ostream& operator<<(std::ostream& s, const color_t& c)
{
s << int(c.r) << " " << int(c.g) << " " << int(c.b) << " " << int(c.a) << std::endl;
return s;