MCPcopy Create free account
hub / github.com/KDE/kdevelop / staticRef

Method staticRef

kdevplatform/language/util/setrepository.cpp:1130–1138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1128}
1129
1130void Set::staticRef()
1131{
1132 if (!m_tree)
1133 return;
1134
1135 QMutexLocker lock(m_repository->m_mutex);
1136 SetNodeData* data = m_repository->m_dataRepository.dynamicItemFromIndexSimple(m_tree);
1137 ++data->m_refCount;
1138}
1139
1140///Mutex must be locked
1141void Set::unrefNode(uint current)

Callers 7

StorableSetMethod · 0.80
insertIndexMethod · 0.80
removeIndexMethod · 0.80
StorableSetClass · 0.80

Calls 1

Tested by

no test coverage detected