accumulator type change

This commit is contained in:
Jack Andersen 2015-08-11 13:32:57 -10:00
parent f49a6a6e82
commit dac1dde468
2 changed files with 6 additions and 6 deletions

View File

@ -483,7 +483,7 @@ public:
vector.clear(); vector.clear();
vector.reserve(count); vector.reserve(count);
enterSubVector(name); enterSubVector(name);
for (int i=0 ; i<count ; ++i) for (size_t i=0 ; i<count ; ++i)
{ {
vector.emplace_back(); vector.emplace_back();
enterSubRecord(nullptr); enterSubRecord(nullptr);
@ -503,7 +503,7 @@ public:
vector.clear(); vector.clear();
vector.reserve(count); vector.reserve(count);
enterSubVector(name); enterSubVector(name);
for (int i=0 ; i<count ; ++i) for (size_t i=0 ; i<count ; ++i)
vector.emplace_back(readVal<T>(name)); vector.emplace_back(readVal<T>(name));
leaveSubVector(); leaveSubVector();
} }
@ -515,7 +515,7 @@ public:
vector.clear(); vector.clear();
vector.reserve(count); vector.reserve(count);
enterSubVector(name); enterSubVector(name);
for (int i=0 ; i<count ; ++i) for (size_t i=0 ; i<count ; ++i)
{ {
vector.emplace_back(); vector.emplace_back();
enterSubRecord(nullptr); enterSubRecord(nullptr);

View File

@ -447,7 +447,7 @@ public:
{ {
vector.clear(); vector.clear();
vector.reserve(count); vector.reserve(count);
for (int i=0 ; i<count ; ++i) for (size_t i=0 ; i<count ; ++i)
vector.emplace_back(readVal<T>()); vector.emplace_back(readVal<T>());
} }
@ -460,7 +460,7 @@ public:
{ {
vector.clear(); vector.clear();
vector.reserve(count); vector.reserve(count);
for (int i=0 ; i<count ; ++i) for (size_t i=0 ; i<count ; ++i)
{ {
vector.emplace_back(); vector.emplace_back();
vector.back().read(*this); vector.back().read(*this);
@ -472,7 +472,7 @@ public:
{ {
vector.clear(); vector.clear();
vector.reserve(count); vector.reserve(count);
for (int i=0 ; i<count ; ++i) for (size_t i=0 ; i<count ; ++i)
{ {
vector.emplace_back(); vector.emplace_back();
readf(*this, vector.back()); readf(*this, vector.back());