PR #3279 - revert to non RVO code (fix)
This commit is contained in:
parent
e9466160c7
commit
363121235e
@ -104,6 +104,8 @@ void PathTrie::get_path_vec(std::vector<unsigned int>& output) {
|
|||||||
// correct order as we walk back down the stack in the lines below.
|
// correct order as we walk back down the stack in the lines below.
|
||||||
if (parent != nullptr) {
|
if (parent != nullptr) {
|
||||||
parent->get_path_vec(output);
|
parent->get_path_vec(output);
|
||||||
|
}
|
||||||
|
if (character != ROOT_) {
|
||||||
output.push_back(character);
|
output.push_back(character);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user