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

Commit f4bb6ffe authored by Yi Kong's avatar Yi Kong
Browse files

binder: fix inconsistent-missing-override warning.

Some functions are marked as "override" while the rest are not.

No functionality change.

Test: TreeHugger
Change-Id: I7bcd785588feba0c514dcb473f29ea92784efee0
parent 61addf0d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -82,10 +82,10 @@ public:
    explicit BpMemoryHeap(const sp<IBinder>& impl);
    virtual ~BpMemoryHeap();

    virtual int getHeapID() const;
    virtual void* getBase() const;
    virtual size_t getSize() const;
    virtual uint32_t getFlags() const;
    int getHeapID() const override;
    void* getBase() const override;
    size_t getSize() const override;
    uint32_t getFlags() const override;
    off_t getOffset() const override;

private:
+5 −5
Original line number Diff line number Diff line
@@ -57,13 +57,13 @@ public:
    virtual ~MemoryHeapBase();

    /* implement IMemoryHeap interface */
    virtual int         getHeapID() const;
    int         getHeapID() const override;

    /* virtual address of the heap. returns MAP_FAILED in case of error */
    virtual void*       getBase() const;
    void*       getBase() const override;

    virtual size_t      getSize() const;
    virtual uint32_t    getFlags() const;
    size_t      getSize() const override;
    uint32_t    getFlags() const override;
    off_t       getOffset() const override;

    const char*         getDevice() const;