MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / removeSink

Method removeSink

Utils/Logger.h:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 void removeSink(std::shared_ptr<LogSink> sink)
156 {
157 for (auto it = m_sinks.begin(); it != m_sinks.end(); it++)
158 {
159 if (*it == sink)
160 {
161 m_sinks.erase(it);
162 break;
163 }
164 }
165 }
166
167 std::vector<std::shared_ptr<LogSink>>& getSinks()
168 {

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected