Core/Algorithm: Fix Unserialization of std::string

This commit is contained in:
Lynix 2017-11-05 22:36:14 +01:00
parent 786a11fc78
commit 078641aa23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/*!