Reorder member variables of unique error reporter to ensure proper initialization order.

This commit is contained in:
Daniel Kirchner 2022-05-11 13:40:02 +02:00
parent 9f6d3deaea
commit ece547204a

View File

@ -96,8 +96,8 @@ public:
void clear() { m_errorReporter.clear(); }
private:
ErrorReporter m_errorReporter;
ErrorList m_uniqueErrors;
ErrorReporter m_errorReporter;
std::map<std::pair<ErrorId, SourceLocation>, std::string> m_seenErrors;
};