MCPcopy Create free account
hub / github.com/cginternals/globjects / apply

Method apply

source/globjects/source/Capability.cpp:63–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void 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

Callers

nothing calls this directly

Calls 1

setEnabledFunction · 0.85

Tested by

no test coverage detected