aboutsummaryrefslogtreecommitdiff
path: root/include/leveldb/iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/leveldb/iterator.h')
-rw-r--r--include/leveldb/iterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/leveldb/iterator.h b/include/leveldb/iterator.h
index ad543eb46c..76aced04bd 100644
--- a/include/leveldb/iterator.h
+++ b/include/leveldb/iterator.h
@@ -61,7 +61,7 @@ class Iterator {
// Return the value for the current entry. The underlying storage for
// the returned slice is valid only until the next modification of
// the iterator.
- // REQUIRES: !AtEnd() && !AtStart()
+ // REQUIRES: Valid()
virtual Slice value() const = 0;
// If an error has occurred, return it. Else return an ok status.