| 714 | } |
| 715 | |
| 716 | void ScriptList::KeepValue(SQInteger value) |
| 717 | { |
| 718 | this->modifications++; |
| 719 | |
| 720 | for (ScriptListMap::iterator next_iter, iter = this->items.begin(); iter != this->items.end(); iter = next_iter) { |
| 721 | next_iter = std::next(iter); |
| 722 | if (iter->second != value) this->RemoveItem(iter->first); |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | void ScriptList::KeepTop(SQInteger count) |
| 727 | { |
nothing calls this directly
no test coverage detected