Sfoglia il codice sorgente

fix typo in comment of LRUHandle

LRUHandle has no member "next_", fix it to "next" instead.
master
Liao Tonglang 5 anni fa
committed by GitHub
parent
commit
f2dae4e74a
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      util/cache.cc

+ 1
- 1
util/cache.cc Vedi File

@ -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);

Caricamento…
Annulla
Salva