提交 834b12a8 编写于 作者: J jsteemann

made Size() function const because it does not modify data

上级 1fc16cb2
......@@ -282,7 +282,7 @@ class IterKey {
return Slice(key_, key_size_ - 8);
}
size_t Size() { return key_size_; }
size_t Size() const { return key_size_; }
void Clear() { key_size_ = 0; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册