diff options
| -rw-r--r-- | services/displayservice/include/displayservice/DisplayEventReceiver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/displayservice/include/displayservice/DisplayEventReceiver.h b/services/displayservice/include/displayservice/DisplayEventReceiver.h index 5d569b6d53..042a0549f5 100644 --- a/services/displayservice/include/displayservice/DisplayEventReceiver.h +++ b/services/displayservice/include/displayservice/DisplayEventReceiver.h @@ -45,7 +45,7 @@ private: using FwkReceiver = ::android::DisplayEventReceiver; struct AttachedEvent : LooperCallback { - AttachedEvent(const sp<IEventCallback> &callback); + explicit AttachedEvent(const sp<IEventCallback> &callback); ~AttachedEvent(); bool detach(); |