MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / RemoveAddressLineIf

Method RemoveAddressLineIf

CppCoverage/ExecutedAddressManager.cpp:182–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180 //-------------------------------------------------------------------------
181 template <typename Condition>
182 void ExecutedAddressManager::RemoveAddressLineIf(Condition condition)
183 {
184 auto it = addressLineMap_.begin();
185
186 while (it != addressLineMap_.end())
187 {
188 if (condition(*it))
189 it = addressLineMap_.erase(it);
190 else
191 ++it;
192 }
193 }
194
195 //-------------------------------------------------------------------------
196 void ExecutedAddressManager::OnExitProcess(HANDLE hProcess)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected