Fix diagnostics pop error

This commit is contained in:
Jarryd Beck 2023-02-02 07:25:12 +11:00
parent 4a3d4dbfe0
commit e1f8c16702

View File

@ -1551,6 +1551,7 @@ class ParseResult
// GCC complains about m_iter not being initialised in the member
// initializer list
CXXOPTS_DIAGNOSTIC_PUSH
CXXOPTS_IGNORE_WARNING("-Weffc++")
Iterator(const ParseResult *pr, bool end=false)
: m_pr(pr)