MCPcopy Create free account
hub / github.com/comaps/comaps / Finish

Method Finish

generator/dumper.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void Finish()
42 {
43 if (m_currentCount > 0)
44 m_tokens.emplace_back(m_currentCount, m_currentS);
45 sort(m_tokens.begin(), m_tokens.end(), std::greater<pair<uint32_t, strings::UniString>>());
46 }
47
48 vector<pair<uint32_t, strings::UniString>> m_tokens;
49 strings::UniString m_currentS;

Callers 1

DumpSearchTokensFunction · 0.45

Calls 3

emplace_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected