MCPcopy Create free account
hub / github.com/Compaile/ctrack / registerReporterImpl

Function registerReporterImpl

test/doctest.h:7099–7104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7097
7098namespace detail {
7099 void registerReporterImpl(const char* name, int priority, reporterCreatorFunc c, bool isReporter) {
7100 if(isReporter)
7101 getReporters().insert(reporterMap::value_type(reporterMap::key_type(priority, name), c));
7102 else
7103 getListeners().insert(reporterMap::value_type(reporterMap::key_type(priority, name), c));
7104 }
7105} // namespace detail
7106
7107} // namespace doctest

Callers 1

DOCTEST_DEFINE_DECORATORFunction · 0.85

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected