| 61 | } |
| 62 | |
| 63 | void Capability::apply() |
| 64 | { |
| 65 | if (m_indexEnabled.empty()) |
| 66 | { |
| 67 | setEnabled(m_capability, m_enabled); |
| 68 | } |
| 69 | else |
| 70 | { |
| 71 | for (const std::pair<int, bool>& pair : m_indexEnabled) |
| 72 | { |
| 73 | setEnabled(m_capability, pair.first, pair.second); |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | |
| 79 | } // namespace globjects |
nothing calls this directly
no test coverage detected