diff options
Diffstat (limited to 'src/lib/util/opresolv.cpp')
-rw-r--r-- | src/lib/util/opresolv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/opresolv.cpp b/src/lib/util/opresolv.cpp index fa6e1fa0f28..b707508dcac 100644 --- a/src/lib/util/opresolv.cpp +++ b/src/lib/util/opresolv.cpp @@ -116,7 +116,7 @@ option_resolution::entry *option_resolution::find(int parameter) auto iter = std::find_if( m_entries.begin(), m_entries.end(), - [&](const entry &e) { return e.parameter() == parameter; }); + [parameter](const entry &e) { return e.parameter() == parameter; }); return iter != m_entries.end() ? &*iter |