| 152 | } |
| 153 | |
| 154 | void ModificationRevisionSet::clear() |
| 155 | { |
| 156 | QMutexLocker lock(modificationRevisionSetMutex()); |
| 157 | |
| 158 | if (m_index) { |
| 159 | Utils::Set oldModificationTimes = Utils::Set(m_index, &FileModificationSetRepositoryRepresenter::repository()); |
| 160 | oldModificationTimes.staticUnref(); |
| 161 | m_index = 0; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | void ModificationRevisionSet::addModificationRevision(const IndexedString& url, |
| 166 | const KDevelop::ModificationRevision& revision) |
no test coverage detected