Commit 57373c05 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Use a temporary variable in MessageRenderer::writeName()

parent a5b09a49
......@@ -364,7 +364,8 @@ MessageRenderer::writeName(const LabelSequence& ls, const bool compress) {
void
MessageRenderer::writeName(const Name& name, const bool compress) {
writeName(LabelSequence(name), compress);
const LabelSequence ls(name);
writeName(ls, compress);
}
AbstractMessageRenderer::AbstractMessageRenderer() :
......
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