Skip to content

Commit b0eb345

Browse files
committed
expired() is not const qualified in PolledTmeout.
1 parent 20e6378 commit b0eb345

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/ESP8266WiFiMesh/src/ExpiringTimeTracker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class ExpiringTimeTracker : private esp8266::polledTimeout::oneShotMs {
6161
* Get the time since the ExpiringTimeTracker instance creation or the last reset(), whichever is more recent.
6262
*/
6363
uint32_t elapsedTime() const;
64-
bool expired() const;
64+
bool expired();
6565
void reset();
6666
void reset(const uint32_t newDuration);
6767
void reset(const calculatorType newDurationCalculator);

0 commit comments

Comments
 (0)