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

Commit d9885e7e authored by Greg Kaiser's avatar Greg Kaiser Committed by Elliott Hughes
Browse files

RefBase: Silence compiler warnings

We comment out the names of the parameters we're intentionally
not using.

(cherrypick of 44a0eb4d.)

Change-Id: I0a92d9200ca26cdc4700d2ff9e3ab33c102520d5
parent b0d062a4
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -196,9 +196,10 @@ protected:

private:
    friend class ReferenceMover;
    inline static void renameRefs(size_t n, const ReferenceRenamer& renamer) { }
    inline static void renameRefId(T* ref,
            const void* old_id, const void* new_id) { }
    inline static void renameRefs(size_t /*n*/,
            const ReferenceRenamer& /*renamer*/) { }
    inline static void renameRefId(T* /*ref*/,
            const void* /*old_id*/ , const void* /*new_id*/) { }

private:
    mutable std::atomic<int32_t> mCount;