X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FArena.h;h=ce758e5b4014fc7a81e7b3a7dec33ba924fd5e10;hb=fd915b73606e09a5f46a1bca0a5d3643a1567014;hp=e08ca06454c323722a6f714068e85cb8cd7e9705;hpb=a42878e365ad97ef653a823ac5d5b62f91f63663;p=folly.git diff --git a/folly/Arena.h b/folly/Arena.h index e08ca064..ce758e5b 100644 --- a/folly/Arena.h +++ b/folly/Arena.h @@ -157,6 +157,7 @@ class Arena { static constexpr size_t kDefaultMinBlockSize = 4096 - sizeof(Block); static constexpr size_t kNoSizeLimit = 0; static constexpr size_t kDefaultMaxAlign = alignof(Block); + static constexpr size_t kBlockOverhead = sizeof(Block); private: bool isAligned(uintptr_t address) const {