Only thing we changed was adding "Iterator::" to the member's qualification
| 90 | |
| 91 | // Only thing we changed was adding "Iterator::" to the member's qualification |
| 92 | SharedBox Truckload::Iterator::getFirstBox() |
| 93 | { |
| 94 | // Return m_head's box (or nullptr if the list is empty) |
| 95 | m_current = m_head; |
| 96 | return m_current? m_current->m_box : nullptr; |
| 97 | } |
| 98 | |
| 99 | // Only thing we changed was adding "Iterator::" to the member's qualification |
| 100 | SharedBox Truckload::Iterator::getNextBox() |