瀏覽代碼

fix typo in comment of LRUHandle

LRUHandle has no member "next_", fix it to "next" instead.
baseline
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);

Loading…
取消
儲存