Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 625b03ed authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by Chih-hung Hsieh
Browse files

Fix/suppress google-explicit-constructor warnings

* Add explicit to conversion constructors/operators

Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I323876d1a5db47ef4e7b7996994d168b82cca00d
parent a7fa269d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();