From 1754c12c54d3544678205930a09b142418e34181 Mon Sep 17 00:00:00 2001 From: jl0x61 Date: Tue, 14 Jul 2020 19:32:03 +0800 Subject: [PATCH] update index.md remove return value of GetApproximateSizes in index.md --- doc/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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