Mark pointer as found

This commit is contained in:
Andrea Marco Sartori 2022-12-21 19:28:38 +10:00
parent 8e9e381713
commit 1f34de5e2b

View File

@ -66,8 +66,7 @@ class Pointers
public function markAsFound(Pointer $pointer): void
{
if (!$pointer->wasFound) {
$pointer->wasFound = true;
$this->found[(string) $pointer] = true;
$this->found[(string) $pointer] = $pointer->wasFound = true;
}
}