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

main
jsteemann 9 years ago
parent 1fc16cb2eb
commit 834b12a8d5
  1. 2
      db/dbformat.h

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

Loading…
Cancel
Save