InvalidateSimpleKey . Automatically invalidate the simple key in our flow level
| 82 | // InvalidateSimpleKey |
| 83 | // . Automatically invalidate the simple key in our flow level |
| 84 | void Scanner::InvalidateSimpleKey() { |
| 85 | if (m_simpleKeys.empty()) |
| 86 | return; |
| 87 | |
| 88 | // grab top key |
| 89 | SimpleKey& key = m_simpleKeys.top(); |
| 90 | if (key.flowLevel != GetFlowLevel()) |
| 91 | return; |
| 92 | |
| 93 | key.Invalidate(); |
| 94 | m_simpleKeys.pop(); |
| 95 | } |
| 96 | |
| 97 | // VerifySimpleKey |
| 98 | // . Determines whether the latest simple key to be added is valid, |
nothing calls this directly
no test coverage detected