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

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

Fix/suppress bootanimation 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: Ia6ada49250973d507ae8b10d8f0d7c2d47ee805c
parent 99f6957f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ public:
        virtual void shutdown() {}
    };

    BootAnimation(sp<Callbacks> callbacks);
    explicit BootAnimation(sp<Callbacks> callbacks);

    sp<SurfaceComposerClient> session() const;

@@ -127,7 +127,7 @@ private:

    class TimeCheckThread : public Thread {
    public:
        TimeCheckThread(BootAnimation* bootAnimation);
        explicit TimeCheckThread(BootAnimation* bootAnimation);
        virtual ~TimeCheckThread();
    private:
        virtual status_t    readyToRun();