Revert "Define kInlineSize in .cc file instead of header"

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

@ -14,7 +14,6 @@
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;
static const size_t kInlineSize = 2048;
static const size_t kMinBlockSize;
static const size_t kMaxBlockSize;

Loading…
Cancel
Save