Commit 55bc2cc2 authored by s_kleplj's avatar s_kleplj
Browse files

improved consistency of style

parent c67c7f44
......@@ -80,13 +80,13 @@ bool macroprocessor_impl::process(
if (it != words_.end()) {
std::size_t w_length = it->second.update_length() + 1;
found.push_back(&it->second);
found.emplace_back(&it->second);
if (w_length > 0) {
length += w_length + 1;
}
} else {
found.push_back(nullptr);
found.emplace_back(nullptr);
length += p.size() + 1;
}
}
......
Markdown is supported
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