Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
remove unnecessary move(copy())
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Nov 8, 2024
1 parent 782c780 commit 31e5f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/faebryk/core/cpp/src/pathfinder/pathfinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ PathFinder::find_paths(Node_ref src, std::vector<Node_ref> dst) {
p.stop = true;
}
}
paths.push_back(std::move(BFSPath(p)));
paths.push_back(p);
});

printf("TIME: %3.2lf ms BFS\n", pc_bfs.ms());
Expand Down

0 comments on commit 31e5f25

Please sign in to comment.