Only thing we changed was adding "Iterator::" to the member's qualification
| 70 | |
| 71 | // Only thing we changed was adding "Iterator::" to the member's qualification |
| 72 | SharedBox Truckload::Iterator::getFirstBox() |
| 73 | { |
| 74 | // Return m_head's box (or nullptr if the list is empty) |
| 75 | m_current = m_head; |
| 76 | return m_current? m_current->m_box : nullptr; |
| 77 | } |
| 78 | |
| 79 | // Only thing we changed was adding "Iterator::" to the member's qualification |
| 80 | SharedBox Truckload::Iterator::getNextBox() |