| 156 | { |
| 157 | public: |
| 158 | ErrorWatcher(ErrorReporter const& _errorReporter): |
| 159 | m_errorReporter(_errorReporter), |
| 160 | m_initialErrorCount(_errorReporter.errorCount()) |
| 161 | {} |
| 162 | bool ok() const |
| 163 | { |
| 164 | solAssert(m_initialErrorCount <= m_errorReporter.errorCount(), "Unexpected error count."); |
nothing calls this directly
no test coverage detected