mirror of https://github.com/OpenTTD/OpenTTD
Codefix a6f412c6: Missing this-> in YAPF
parent
07e8547eb5
commit
883be19865
|
@ -88,7 +88,7 @@ struct CSegmentCostCacheT : public CSegmentCostCacheBase {
|
||||||
Tsegment *item = this->map.Find(key);
|
Tsegment *item = this->map.Find(key);
|
||||||
if (item == nullptr) {
|
if (item == nullptr) {
|
||||||
*found = false;
|
*found = false;
|
||||||
item = &heap.emplace_back(key);
|
item = &this->heap.emplace_back(key);
|
||||||
this->map.Push(*item);
|
this->map.Push(*item);
|
||||||
} else {
|
} else {
|
||||||
*found = true;
|
*found = true;
|
||||||
|
|
Loading…
Reference in New Issue