Fix Windows build (isnan not defined -> std::isnan)

master
Rogier 2015-02-28 17:52:42 +01:00
parent 216bc32a35
commit f853915404
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public:
bool isNormalized(void) const { return !m_n; }
Color color(void) const { return Color(red(), green(), blue(), alpha()); }
inline bool is_valid() const { return !isnan(m_h); }
inline bool is_valid() const { return !std::isnan(m_h); }
PixelAttribute &operator=(const PixelAttribute &p);
void normalize(double count = 0, Color defaultColor = Color(127, 127, 127));
void add(const PixelAttribute &p);