avoid unused-paramter warning for c++

pull/10390/head
Marjolein Heyndrickx 2 years ago committed by mheyndrickx
parent ed5c57a574
commit d0dfcde6c5
  1. 4
      src/google/protobuf/arena.h

@ -437,7 +437,7 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final {
}
template <typename U>
static Arena* GetOwningArena(Rank1, const U* p) {
static Arena* GetOwningArena(Rank1, const U*) {
return nullptr;
}
@ -467,7 +467,7 @@ class PROTOBUF_EXPORT PROTOBUF_ALIGNAS(8) Arena final {
}
template <typename U>
static Arena* GetArenaForAllocation(Rank2, const U* p) {
static Arena* GetArenaForAllocation(Rank2, const U*) {
return nullptr;
}

Loading…
Cancel
Save