Fix a recently introduced potential bug in day 10 solver
This commit is contained in:
parent
7f0b70c8ef
commit
911bcf6701
@ -55,7 +55,7 @@ void HoofIt::finish()
|
|||||||
|
|
||||||
while (!queue.empty())
|
while (!queue.empty())
|
||||||
{
|
{
|
||||||
const auto& trail = queue.front();
|
const auto trail = queue.front();
|
||||||
queue.pop();
|
queue.pop();
|
||||||
if (getCharAt(trail) != getTrailheadChar())
|
if (getCharAt(trail) != getTrailheadChar())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user