Define kInlineSize in .cc file instead of header

main
Igor Canadi 11 years ago
parent eea73226e9
commit 35a8873aa6
  1. 1
      util/arena.cc
  2. 2
      util/arena.h

@ -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…
Cancel
Save