moving things around within a class.

master
Rohit Grover 2015-05-27 09:54:11 +01:00
parent ecb6f20d4c
commit 8139cff2cf
1 changed files with 3 additions and 3 deletions

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;
}