use types enum instead of constexpr

pull/17013/head
Matthias Möller 5 months ago
parent c51c63762e
commit 4f954e8c9b
  1. 2
      src/google/protobuf/map.h

@ -559,7 +559,7 @@ class PROTOBUF_EXPORT UntypedMapBase {
protected:
// 16 bytes is the minimum useful size for the array cache in the arena.
constexpr static map_index_t kMinTableSize = 16 / sizeof(void*);
enum : map_index_t { kMinTableSize = 16 / sizeof(void*) };
public:
Arena* arena() const { return this->alloc_.arena(); }

Loading…
Cancel
Save