浏览代码

fix typo in comment of LRUHandle

LRUHandle has no member "next_", fix it to "next" instead.
naive_version
Liao Tonglang 5 年前
committed by GitHub
父节点
当前提交
f2dae4e74a
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      util/cache.cc

+ 1
- 1
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);

正在加载...
取消
保存