mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
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:
parent
b4d8d3989c
commit
108e06ed46
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
bool operator ==(CiColor p1, CiColor p2) {
|
bool operator ==(CiColor p1, CiColor p2) {
|
||||||
return (p1.x == p2.x) && (p1.y == p2.y) && (p1.bri == p2.bri);
|
return (p1.x == p2.x) && (p1.y == p2.y) && (p1.bri == p2.bri);
|
||||||
|
Loading…
Reference in New Issue
Block a user