| 775 | } |
| 776 | |
| 777 | size_t StringHasher::count() const |
| 778 | { |
| 779 | size_t count = 0; |
| 780 | for (auto& hasher : _hashes->right) { |
| 781 | if (hasher.second->isMarked() || hasher.second->isPersistent()) { |
| 782 | ++count; |
| 783 | } |
| 784 | } |
| 785 | return count; |
| 786 | } |
| 787 | |
| 788 | void StringHasher::Restore(Base::XMLReader& reader) |
| 789 | { |
no test coverage detected