Fix clang warning.

This commit is contained in:
Wilson Snyder 2021-06-06 10:32:50 -04:00
parent 2158a4573e
commit 8f2e4f6bb0

View File

@ -1061,7 +1061,7 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char
DECL_OPTION("-error-limit", CbVal, static_cast<void (*)(int)>(&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);