Skip to content
Snippets Groups Projects
Commit db2510c7 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

tidy: while ( true ) instead of while ( 1 )

parent fb26caeb
No related branches found
No related tags found
1 merge request!200clang tidy fixes
......@@ -115,7 +115,7 @@ IDAStar::findPath(const TGraph &graph,
data.path_set.insert(start);
 
weight_type bound = f_heuristic(start);
while (1) {
while ( true ) {
bool found;
weight_type t;
ext::tie(found, t) = search(graph, data, goal, 0, bound, f_heuristic, f_user);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment