MCPcopy Create free account
hub / github.com/apache/qpid-proton / log_clear

Method log_clear

c/tests/pn_test.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107etypes handler::log_clear() {
108 etypes ret;
109 std::swap(ret, log);
110 return ret;
111}
112
113pn_event_type_t handler::log_last() {
114 pn_event_type_t et = log.empty() ? PN_EVENT_NONE : log.back();

Callers 2

proactor_test.cppFile · 0.80

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected