summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjl0x61 <xdujlx@foxmail.com>2020-07-14 19:32:03 +0800
committerjl0x61 <xdujlx@foxmail.com>2020-07-14 19:32:03 +0800
commit1754c12c54d3544678205930a09b142418e34181 (patch)
tree973e3970a2f6a637266349543b4938d47b3ab97d
parentc46e79c760125f9adb87a575d94034032637f8d0 (diff)
downloadleveldb-1754c12c54d3544678205930a09b142418e34181.tar.gz
update index.md
remove return value of GetApproximateSizes in index.md
-rw-r--r--doc/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/index.md b/doc/index.md
index 3d9a258..4e7c5ef 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -478,7 +478,7 @@ leveldb::Range ranges[2];
ranges[0] = leveldb::Range("a", "c");
ranges[1] = leveldb::Range("x", "z");
uint64_t sizes[2];
-leveldb::Status s = db->GetApproximateSizes(ranges, 2, sizes);
+db->GetApproximateSizes(ranges, 2, sizes);
```
The preceding call will set `sizes[0]` to the approximate number of bytes of