diff --git a/src/V3Options.cpp b/src/V3Options.cpp index 4cb886835..49a65e5ac 100644 --- a/src/V3Options.cpp +++ b/src/V3Options.cpp @@ -1061,7 +1061,7 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char DECL_OPTION("-error-limit", CbVal, static_cast(&V3Error::errorLimit)); DECL_OPTION("-exe", OnOff, &m_exe); DECL_OPTION("-expand-limit", CbVal, - [this, fl](const char* valp) { m_expandLimit = std::atoi(valp); }); + [this](const char* valp) { m_expandLimit = std::atoi(valp); }); DECL_OPTION("-F", CbVal, [this, fl, &optdir](const char* valp) { parseOptsFile(fl, parseFileArg(optdir, valp), true);