diff --git a/src/HoofIt.cpp b/src/HoofIt.cpp index ea74849..2dd1104 100644 --- a/src/HoofIt.cpp +++ b/src/HoofIt.cpp @@ -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()) {