Skip to content

Commit

Permalink
avoid unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
marjoleinheyndrickx committed Aug 16, 2022
1 parent 53211b8 commit da05f11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/google/protobuf/arena.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,8 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final {
}

template <typename U>
static Arena* GetOwningArena(Rank1, const U*) {
static Arena* GetOwningArena(Rank1, const U* p) {
(void) p;
return nullptr;
}

Expand Down Expand Up @@ -467,7 +468,8 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final {
}

template <typename U>
static Arena* GetArenaForAllocation(Rank2, const U*) {
static Arena* GetArenaForAllocation(Rank2, const U* p) {
(void) p;
return nullptr;
}

Expand Down

0 comments on commit da05f11

Please sign in to comment.