Parcourir la source
fix typo in comment of LRUHandle
LRUHandle has no member "next_", fix it to "next" instead.
ld
Liao Tonglang
il y a 5 ans
committed by
GitHub
Parent
révision
f2dae4e74a
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec
1 ajouts et
1 suppressions
-
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); |
|
|
|
|
|
|
|