Core/ByteBuffer: Fix string format

(cherry picked from commit 1227e96bd3ecfbb69b9890cd305f1856a27dd2ef)
This commit is contained in:
Shauren
2021-12-23 19:45:51 +01:00
parent 7d8926c55d
commit a82ae950dd
+1 -1
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)