Bläddra i källkod
fix typo in comment of LRUHandle
LRUHandle has no member "next_", fix it to "next" instead.
naive_version
Liao Tonglang
5 år sedan
committed by
GitHub
förälder
incheckning
f2dae4e74a
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med
1 tillägg och
1 borttagningar
-
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); |
|
|
|
|
|
|
|