MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / InternalRemove

Method InternalRemove

DebugView++Lib/LogSources.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void LogSources::InternalRemove(LogSource* pLogSource)
91{
92 assert(m_executor.IsExecutorThread());
93 auto description = pLogSource->GetDescription();
94 EraseElements(m_sources, { pLogSource });
95 AddMessage(stringbuilder() << "Source '" << description << "' was removed.");
96}
97
98std::vector<LogSource*> LogSources::GetSources() const
99{

Callers

nothing calls this directly

Calls 3

EraseElementsFunction · 0.85
GetDescriptionMethod · 0.80
IsExecutorThreadMethod · 0.45

Tested by

no test coverage detected