| 704 | } |
| 705 | |
| 706 | void ScriptList::KeepBetweenValue(SQInteger start, SQInteger end) |
| 707 | { |
| 708 | this->modifications++; |
| 709 | |
| 710 | for (ScriptListMap::iterator next_iter, iter = this->items.begin(); iter != this->items.end(); iter = next_iter) { |
| 711 | next_iter = std::next(iter); |
| 712 | if (iter->second <= start || iter->second >= end) this->RemoveItem(iter->first); |
| 713 | } |
| 714 | } |
| 715 | |
| 716 | void ScriptList::KeepValue(SQInteger value) |
| 717 | { |
nothing calls this directly
no test coverage detected