Fixed weird bug in serializer which caused corrupted data in Json map (missing guards entry in banks)

This commit is contained in:
Ivan Savenko
2015-03-31 00:56:33 +03:00
parent eef45b5ae8
commit 376b2436f8
+4 -3
View File
@@ -1442,11 +1442,12 @@ public:
{
READ_CHECK_U32(length);
data.clear();
T1 t;
T1 key;
T2 value;
for(ui32 i=0;i<length;i++)
{
*this >> t;
*this >> data[t];
*this >> key >> value;
data.insert(std::pair<T1, T2>(std::move(key), std::move(value)));
}
}
template <typename T1, typename T2>