RefBase: Silence compiler warnings

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

(cherrypick of 44a0eb4d8cdf4ab881f5d5a1acc1155266a46f6a.)

Change-Id: I0a92d9200ca26cdc4700d2ff9e3ab33c102520d5
This commit is contained in:
Greg Kaiser 2016-07-08 17:18:07 -07:00 committed by Elliott Hughes
parent b0d062a497
commit d9885e7edb
1 changed files with 4 additions and 3 deletions

View File

@ -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;