diff --git a/util/arena.cc b/util/arena.cc index 51b56da7d..601230a0e 100644 --- a/util/arena.cc +++ b/util/arena.cc @@ -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*); diff --git a/util/arena.h b/util/arena.h index 0c9aa9738..bb45ea5af 100644 --- a/util/arena.h +++ b/util/arena.h @@ -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;