mirror of
https://github.com/jarro2783/cxxopts.git
synced 2026-01-18 01:11:24 +01:00
Fix diagnostics pop error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user