mirror of https://github.com/axmolengine/axmol.git
issue #2790: Uses StringUtils::format for Node::description().
This commit is contained in:
parent
976bef8b68
commit
b2e8bdce1e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue