mirror of https://github.com/libAthena/athena.git
accumulator type change
This commit is contained in:
parent
f49a6a6e82
commit
dac1dde468
|
@ -483,7 +483,7 @@ public:
|
|||
vector.clear();
|
||||
vector.reserve(count);
|
||||
enterSubVector(name);
|
||||
for (int i=0 ; i<count ; ++i)
|
||||
for (size_t i=0 ; i<count ; ++i)
|
||||
{
|
||||
vector.emplace_back();
|
||||
enterSubRecord(nullptr);
|
||||
|
@ -503,7 +503,7 @@ public:
|
|||
vector.clear();
|
||||
vector.reserve(count);
|
||||
enterSubVector(name);
|
||||
for (int i=0 ; i<count ; ++i)
|
||||
for (size_t i=0 ; i<count ; ++i)
|
||||
vector.emplace_back(readVal<T>(name));
|
||||
leaveSubVector();
|
||||
}
|
||||
|
@ -515,7 +515,7 @@ public:
|
|||
vector.clear();
|
||||
vector.reserve(count);
|
||||
enterSubVector(name);
|
||||
for (int i=0 ; i<count ; ++i)
|
||||
for (size_t i=0 ; i<count ; ++i)
|
||||
{
|
||||
vector.emplace_back();
|
||||
enterSubRecord(nullptr);
|
||||
|
|
|
@ -447,7 +447,7 @@ public:
|
|||
{
|
||||
vector.clear();
|
||||
vector.reserve(count);
|
||||
for (int i=0 ; i<count ; ++i)
|
||||
for (size_t i=0 ; i<count ; ++i)
|
||||
vector.emplace_back(readVal<T>());
|
||||
}
|
||||
|
||||
|
@ -460,7 +460,7 @@ public:
|
|||
{
|
||||
vector.clear();
|
||||
vector.reserve(count);
|
||||
for (int i=0 ; i<count ; ++i)
|
||||
for (size_t i=0 ; i<count ; ++i)
|
||||
{
|
||||
vector.emplace_back();
|
||||
vector.back().read(*this);
|
||||
|
@ -472,7 +472,7 @@ public:
|
|||
{
|
||||
vector.clear();
|
||||
vector.reserve(count);
|
||||
for (int i=0 ; i<count ; ++i)
|
||||
for (size_t i=0 ; i<count ; ++i)
|
||||
{
|
||||
vector.emplace_back();
|
||||
readf(*this, vector.back());
|
||||
|
|
Loading…
Reference in New Issue