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

Commit

Permalink
mini optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Nov 8, 2024
1 parent 31e5f25 commit 384bbfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/faebryk/core/cpp/src/pathfinder/pathfinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ PathFinder::find_paths(Node_ref src, std::vector<Node_ref> dst) {

std::vector<Path> paths_out;
for (auto &p : paths) {
paths_out.push_back(Path(p.get_path()));
paths_out.push_back(std::move(p.get_path()));
}
for (auto &p : multi_paths) {
paths_out.push_back(Path(p.get_path()));
paths_out.push_back(std::move(p.get_path()));
}

std::vector<Counter> counters;
Expand Down

0 comments on commit 384bbfa

Please sign in to comment.