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

This commit is contained in:
jsteemann 2015-09-18 20:10:00 +02:00
parent 1fc16cb2eb
commit 834b12a8d5

View File

@ -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; }