Skip to content
Snippets Groups Projects
Commit deec65e9 authored by Nora Abi Akar's avatar Nora Abi Akar Committed by Sam Yates
Browse files

Fix double move in cable_cell::paint (#898)

* Remove improper std::move of mechanism description with for loop in cell::paint().
parent 18d6325e
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,7 @@ void cable_cell::paint(const std::string& target, mechanism_desc desc) { ...@@ -232,7 +232,7 @@ void cable_cell::paint(const std::string& target, mechanism_desc desc) {
"cable_cell does not support regions with partial branches: \"{}\": {}", "cable_cell does not support regions with partial branches: \"{}\": {}",
target, c)); target, c));
} }
segment(c.branch)->add_mechanism(std::move(desc)); segment(c.branch)->add_mechanism(desc);
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment