Преглед изворни кода

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 Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      util/cache.cc

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

Loading…
Откажи
Сачувај