[timer] use function reference (instead of pointer) as timer handler (#5050)

This commit is contained in:
Abtin Keshavarzian
2020-06-05 12:24:28 -07:00
committed by GitHub
parent 82053cc9db
commit 99a42ccadc
31 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ Interpreter::Interpreter(Instance *aInstance)
, mPingHopLimit(0)
, mPingAllowZeroHopLimit(false)
, mPingIdentifier(0)
, mPingTimer(*aInstance, &Interpreter::HandlePingTimer, this)
, mPingTimer(*aInstance, Interpreter::HandlePingTimer, this)
#if OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE
, mResolvingInProgress(0)
#endif