Fix EbmlElement::idToString()

This commit is contained in:
Martchus 2017-09-14 18:19:12 +02:00
parent a71ffd3fc5
commit 9153e726d5
1 changed files with 2 additions and 2 deletions

View File

@ -91,9 +91,9 @@ private:
inline std::string EbmlElement::idToString() const
{
using namespace ConversionUtilities;
const char *name = matroskaIdName(id());
const char *const name = matroskaIdName(id());
if(*name) {
return '0' % 'x' % numberToString(id(), 16) % ' ' % '\"' % name + '\"';
return argsToString('0', 'x', numberToString(id(), 16), ' ', '\"', name, '\"');
} else {
return "0x" + numberToString(id(), 16);
}