Преглед на файлове
fix typo in comment of LRUHandle
LRUHandle has no member "next_", fix it to "next" instead.
baseline
Liao Tonglang
преди 5 години
committed by
GitHub
родител
ревизия
f2dae4e74a
No known key found for this signature in database
GPG ключ ID: 4AEE18F83AFDEB23
променени са
1 файла, в които са
добавени 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); |
|
|
|
|
|
|
|