Merge pull request #10385 from marjoleinheyndrickx/main

Fix Wpedantic warning 'extra ;' for c++
pull/10424/head
Matt Fowles Kulukundis 2 years ago committed by GitHub
commit 4dbf4e5e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/google/protobuf/descriptor.h
  2. 2
      src/google/protobuf/parse_context.h

@ -199,7 +199,7 @@ namespace internal {
//
#if !defined(PROTOBUF_INTERNAL_CHECK_CLASS_SIZE)
#define PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(t, expected)
#define PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(t, expected) static_assert(true, "")
#endif
class FlatAllocator;

@ -636,7 +636,7 @@ RotRight7AndReplaceLowByte(uint64_t res, const char& byte) {
res |= 0xFF & byte;
#endif
return res;
};
}
inline PROTOBUF_ALWAYS_INLINE
const char* ReadTagInlined(const char* ptr, uint32_t* out) {

Loading…
Cancel
Save