Fixed assert in unit test

This commit is contained in:
Alex Zolotarev 2012-01-10 20:08:34 +03:00 committed by Alex Zolotarev
parent 44ed3d12ae
commit eeea511156

View file

@ -92,7 +92,7 @@ public:
string result;
result.resize(end - begin);
ReadFromPos(m_dataReader, begin, &result[0], end - begin);
ReadFromPos(m_dataReader, begin, (void *)result.data(), end - begin);
return result;
}