Define kInlineSize in .cc file instead of header
This commit is contained in:
parent
eea73226e9
commit
35a8873aa6
@ -14,6 +14,7 @@
|
||||
|
||||
namespace rocksdb {
|
||||
|
||||
const size_t Arena::kInlineSize = 2048;
|
||||
const size_t Arena::kMinBlockSize = 4096;
|
||||
const size_t Arena::kMaxBlockSize = 2 << 30;
|
||||
static const int kAlignUnit = sizeof(void*);
|
||||
|
@ -28,7 +28,7 @@ class Arena {
|
||||
Arena(const Arena&) = delete;
|
||||
void operator=(const Arena&) = delete;
|
||||
|
||||
static const size_t kInlineSize = 2048;
|
||||
static const size_t kInlineSize;
|
||||
static const size_t kMinBlockSize;
|
||||
static const size_t kMaxBlockSize;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user