PR #3279 - revert to non RVO code (fix)

This commit is contained in:
godeffroy 2020-08-31 10:15:34 +02:00
parent e9466160c7
commit 363121235e

View File

@ -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);
} }
} }