moving things around within a class.

This commit is contained in:
Rohit Grover 2015-05-27 09:54:11 +01:00
parent ecb6f20d4c
commit 8139cff2cf

View file

@ -131,9 +131,6 @@ private:
void enqueue(int serviceIndex) {
serviceIndices[numIndices++] = serviceIndex;
}
unsigned getFirst(void) const {
return serviceIndices[0];
}
int dequeue(void) {
if (numIndices == 0) {
return INVALID_SERVICE_INDEX;
@ -147,6 +144,9 @@ private:
return valueToReturn;
}
unsigned getFirst(void) const {
return serviceIndices[0];
}
size_t getCount(void) const {
return numIndices;
}