Core/ByteBuffer: Fix string format

(cherry picked from commit 1227e96bd3)
This commit is contained in:
Shauren
2020-03-15 16:10:22 +01:00
parent 7d8926c55d
commit a82ae950dd

View File

@@ -41,7 +41,7 @@ ByteBufferPositionException::ByteBufferPositionException(size_t pos, size_t size
ByteBufferInvalidValueException::ByteBufferInvalidValueException(char const* type, size_t pos)
{
message().assign(Trinity::StringFormat("Invalid %s value found in ByteBuffer at pos " SZFMTD));
message().assign(Trinity::StringFormat("Invalid %s value found in ByteBuffer at pos " SZFMTD, type, pos));
}
ByteBuffer& ByteBuffer::operator>>(float& value)