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