issue #2790: Uses StringUtils::format for Node::description().

This commit is contained in:
James Chen 2013-12-12 09:47:35 +08:00
parent 976bef8b68
commit b2e8bdce1e
1 changed files with 1 additions and 3 deletions

View File

@ -583,9 +583,7 @@ void Node::cleanup()
std::string Node::description() const
{
std::stringstream ss;
ss << "<Node | Tag = " << _tag;
return ss.str();
return StringUtils::format("<Node | Tag = %d", _tag);
}
// lazy allocs