Marked old SpanRange() class as [[deprecated]]
This will cause a Warning (not an Error) at compile time indicating the class has been deprecated and that the Characteristic::setRange() method should be used instead. Sketch will still run and SpanRange will still function correctly if used. Will delete from code base at some point in the future.
This commit is contained in:
parent
6de645216c
commit
8236b6fb9a
|
|
@ -501,7 +501,7 @@ struct SpanCharacteristic{
|
||||||
|
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
struct SpanRange{
|
struct [[deprecated("Please use Characteristic::setRange() method instead.")]] SpanRange{
|
||||||
SpanRange(int min, int max, int step);
|
SpanRange(int min, int max, int step);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue