* Update the count for this entry and propagate the change to the parent entry * if there is one. * @param count the amount to be added to this entry */
| 1132 | * @param count the amount to be added to this entry |
| 1133 | */ |
| 1134 | void CargoDataEntry::Update(uint count) |
| 1135 | { |
| 1136 | this->count += count; |
| 1137 | if (this->parent != nullptr) this->parent->Update(count); |
| 1138 | } |
| 1139 | |
| 1140 | /** |
| 1141 | * Increment |
no outgoing calls
no test coverage detected