Pārlūkot izejas kodu
fix typo in comment of LRUHandle
LRUHandle has no member "next_", fix it to "next" instead.
xry
Liao Tonglang
pirms 5 gadiem
revīziju iesūtīja
GitHub
vecāks
revīzija
f2dae4e74a
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar
1 papildinājumiem un
1 dzēšanām
-
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); |
|
|
|
|
|
|
|