Core/Algorithm: Fix Unserialization of std::string
This commit is contained in:
parent
786a11fc78
commit
078641aa23
|
|
@ -308,7 +308,7 @@ namespace Nz
|
|||
return false;
|
||||
|
||||
string->resize(size);
|
||||
return context.stream->Read(&string[0], size) == size;
|
||||
return context.stream->Read(&(*string)[0], size) == size;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Reference in New Issue