| 17 | m_msgs.push_back({ type, group, message, ln, sh }); |
| 18 | } |
| 19 | void MessageStack::ClearGroup(const std::string& group, int type) |
| 20 | { |
| 21 | for (int i = 0; i < m_msgs.size(); i++) |
| 22 | if (m_msgs[i].Group == group && (type == -1 || m_msgs[i].MType == (ed::MessageStack::Type)type)) { |
| 23 | m_msgs.erase(m_msgs.begin() + i); |
| 24 | i--; |
| 25 | } |
| 26 | } |
| 27 | int MessageStack::GetGroupWarningMsgCount(const std::string& group) |
| 28 | { |
| 29 | int cnt = 0; |
no test coverage detected