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

Commit 8b2d3da4 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Fix google-explicit-constructor warnings in binder."

parents f0346ab6 e3ab0e80
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -80,7 +80,7 @@ private:
class BpRefBase : public virtual RefBase
class BpRefBase : public virtual RefBase
{
{
protected:
protected:
                            BpRefBase(const sp<IBinder>& o);
    explicit                BpRefBase(const sp<IBinder>& o);
    virtual                 ~BpRefBase();
    virtual                 ~BpRefBase();
    virtual void            onFirstRef();
    virtual void            onFirstRef();
    virtual void            onLastStrongRef(const void* id);
    virtual void            onLastStrongRef(const void* id);
+1 −1
Original line number Original line Diff line number Diff line
@@ -63,7 +63,7 @@ template<typename INTERFACE>
class BpInterface : public INTERFACE, public BpRefBase
class BpInterface : public INTERFACE, public BpRefBase
{
{
public:
public:
                                BpInterface(const sp<IBinder>& remote);
    explicit                    BpInterface(const sp<IBinder>& remote);


protected:
protected:
    virtual IBinder*            onAsBinder();
    virtual IBinder*            onAsBinder();