Skip to content

Commit

Permalink
Fixed weird bug in serializer which caused corrupted data in Json map…
Browse files Browse the repository at this point in the history
… (missing guards entry in banks)
  • Loading branch information
IvanSavenko committed Mar 30, 2015
1 parent eef45b5 commit 376b243
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Connection.h
Expand Up @@ -1442,11 +1442,12 @@ class DLL_LINKAGE CISer : public CLoaderBase
{
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>
Expand Down

0 comments on commit 376b243

Please sign in to comment.