Skip to content

Commit 05272e5

Browse files
committed
expired() is not const qualified in PolledTmeout.
1 parent ce6982b commit 05272e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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)