Various improvements

This commit is contained in:
Wojtek Figat
2023-04-29 12:11:17 +02:00
parent 896f75b789
commit 5a2831d0cb
6 changed files with 27 additions and 21 deletions

View File

@@ -199,13 +199,10 @@ public:
{
const int32 count = data.Count();
WriteInt32(count);
if (count > 0)
for (const auto& e : data)
{
for (const auto& e : data)
{
Write(e.Key);
Write(e.Value);
}
Write(e.Key);
Write(e.Value);
}
}