diff options
author | Liao Tonglang <liaotonglang@gmail.com> | 2019-10-22 18:46:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 18:46:43 +0800 |
commit | f2dae4e74ad3fb5f19722e4df29deddb85ff0872 (patch) | |
tree | aeed605488075c256173448a6124016b4912658d | |
parent | 370d532a00581ca79c87af7d7811e56de0ca52a8 (diff) | |
download | leveldb-f2dae4e74ad3fb5f19722e4df29deddb85ff0872.tar.gz |
fix typo in comment of LRUHandle
LRUHandle has no member "next_", fix it to "next" instead.
-rw-r--r-- | util/cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cache.cc b/util/cache.cc index 12de306..a9b3e6c 100644 --- a/util/cache.cc +++ b/util/cache.cc @@ -53,7 +53,7 @@ struct LRUHandle { char key_data[1]; // Beginning of key Slice key() const { - // next_ is only equal to this if the LRU handle is the list head of an + // next is only equal to this if the LRU handle is the list head of an // empty list. List heads never have meaningful keys. assert(next != this); |