corrected some minor warning
This commit is contained in:
parent
48bca62885
commit
b06ff095a1
|
@ -56,8 +56,8 @@ private:
|
||||||
const int y,
|
const int y,
|
||||||
ObjType *elem)
|
ObjType *elem)
|
||||||
{
|
{
|
||||||
assert((x>=0)&&(x<data.size()));
|
assert((x>=0)&&(x<(int)data.size()));
|
||||||
assert((y>=0)&&(y<data[x].size()));
|
assert((y>=0)&&(y<(int)data[x].size()));
|
||||||
data[x][y].push_back(elem);
|
data[x][y].push_back(elem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ private:
|
||||||
|
|
||||||
///allocate space
|
///allocate space
|
||||||
data.resize(this->siz.X());
|
data.resize(this->siz.X());
|
||||||
for (int x=0;x<data.size();x++)
|
for (size_t x=0;x<data.size();x++)
|
||||||
data[x].resize(this->siz.Y());
|
data[x].resize(this->siz.Y());
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue