Skip to content

Commit

Permalink
Merge pull request #10390 from marjoleinheyndrickx/wunused-parameters
Browse files Browse the repository at this point in the history
avoid unused-parameter warning for c++
  • Loading branch information
fowles authored Aug 17, 2022
2 parents 4dbf4e5 + da05f11 commit 3919d23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/google/protobuf/arena.h
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final {

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

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

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

Expand Down

0 comments on commit 3919d23

Please sign in to comment.