| 327 | } |
| 328 | |
| 329 | byte cByteQueue::operator[](unsigned long i) const |
| 330 | { |
| 331 | for (cByteQueueNode* current = head; current; current = current->next) |
| 332 | { |
| 333 | if (i < current->CurrentSize()) |
| 334 | return (*current)[i]; |
| 335 | |
| 336 | i -= current->CurrentSize(); |
| 337 | } |
| 338 | |
| 339 | // i should be less than CurrentSize(), therefore we should not be here |
| 340 | assert(false); |
| 341 | return 0; |
| 342 | } |
nothing calls this directly
no test coverage detected