[DEBUG] coorection of getting element with his ID
This commit is contained in:
parent
74f13fd919
commit
989ced9c90
@ -81,6 +81,7 @@ namespace ejson {
|
|||||||
if (id == _id) {
|
if (id == _id) {
|
||||||
return it.second;
|
return it.second;
|
||||||
}
|
}
|
||||||
|
id++;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
};
|
};
|
||||||
@ -91,6 +92,7 @@ namespace ejson {
|
|||||||
if (id == _id) {
|
if (id == _id) {
|
||||||
return it.second;
|
return it.second;
|
||||||
}
|
}
|
||||||
|
id++;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user