Fix a recently introduced potential bug in day 10 solver

This commit is contained in:
Stefan Müller 2025-05-14 20:45:24 +02:00
parent 7f0b70c8ef
commit 911bcf6701

View File

@ -55,7 +55,7 @@ void HoofIt::finish()
while (!queue.empty())
{
const auto& trail = queue.front();
const auto trail = queue.front();
queue.pop();
if (getCharAt(trail) != getTrailheadChar())
{