Sfoglia il codice sorgente

Merge pull request #747 from zltl:patch-1

PiperOrigin-RevId: 420778907
ld
Victor Costan 2 anni fa
parent
commit
ec4e3a5cb3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      util/cache.cc

+ 1
- 1
util/cache.cc Vedi File

@ -54,7 +54,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