Removed a param from Serializer::WriteStr.

This commit is contained in:
Arron David Nelson 2024-02-17 00:54:14 -08:00
parent 7cdd57cc5f
commit 1fd9c63cfe

View File

@ -396,9 +396,11 @@ namespace ehs
}
template<typename T, typename O = UInt_64>
void WriteStr(const T* str, const bool sizeKnown, N inSize = 0)
void WriteStr(const T* str, N inSize = 0)
{
if (!inSize)
bool sizeKnown = inSize;
if (!sizeKnown)
while (str[inSize])
inSize++;