Ver código fonte
fix typo in comment of LRUHandle
LRUHandle has no member "next_", fix it to "next" instead.
main
Liao Tonglang
5 anos atrás
committed by
GitHub
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com
1 adições e
1 exclusões
-
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); |
|
|
|
|
|
|
|