| 113 | } |
| 114 | |
| 115 | void Directives::loadOperations() const { |
| 116 | if (!m_shared) |
| 117 | return; |
| 118 | |
| 119 | MutexLocker locker(m_shared->mutex, false); |
| 120 | if (!m_shared.unique()) |
| 121 | locker.lock(); |
| 122 | for (auto& entry : m_shared->entries) |
| 123 | entry.loadOperation(*m_shared); |
| 124 | } |
| 125 | |
| 126 | void Directives::parse(String&& directives) { |
| 127 | if (directives.empty()) { |
no test coverage detected