moving things around within a class.
This commit is contained in:
parent
ecb6f20d4c
commit
8139cff2cf
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue