LedDevicePhilipsHue: fix isNan sometimes not compile

sometime <cmath> is add automaticly, sometimes not. This leads to compile errors. Including <cmath> should fix this.

info taken from here:
http://en.cppreference.com/w/cpp/numeric/math/isnan
This commit is contained in:
redPanther 2016-07-24 22:43:26 +02:00 committed by GitHub
parent b4d8d3989c
commit 108e06ed46

View File

@ -11,6 +11,7 @@
#include <stdexcept>
#include <set>
#include <cmath>
bool operator ==(CiColor p1, CiColor p2) {
return (p1.x == p2.x) && (p1.y == p2.y) && (p1.bri == p2.bri);