| 105 | } |
| 106 | |
| 107 | void ByteQueue::CopyFrom(const ByteQueue ©) |
| 108 | { |
| 109 | nodeSize = copy.nodeSize; |
| 110 | head = tail = new ByteQueueNode(*copy.head); |
| 111 | |
| 112 | for (ByteQueueNode *current=copy.head->next; current; current=current->next) |
| 113 | { |
| 114 | tail->next = new ByteQueueNode(*current); |
| 115 | tail = tail->next; |
| 116 | } |
| 117 | |
| 118 | tail->next = NULL; |
| 119 | } |
| 120 | |
| 121 | ByteQueue::~ByteQueue() |
| 122 | { |
nothing calls this directly
no outgoing calls
no test coverage detected