diff options
Diffstat (limited to 'src/pluginlist.cpp')
| -rw-r--r-- | src/pluginlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index ec4c4400..35c4f257 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -540,8 +540,8 @@ void PluginList::readLockedOrderFrom(const QString &fileName) }
// These are some helper functions for figuring out what is already locked
- static auto findLocked = [&](const std::pair<QString, int>& a) { return a.second == priority; };
- static auto alreadyLocked = [&](){ return std::find_if(m_LockedOrder.begin(), m_LockedOrder.end(), findLocked) != m_LockedOrder.end(); };
+ auto findLocked = [&](const std::pair<QString, int>& a) { return a.second == priority; };
+ auto alreadyLocked = [&](){ return std::find_if(m_LockedOrder.begin(), m_LockedOrder.end(), findLocked) != m_LockedOrder.end(); };
// See if we can just set the given priority
if (!m_ESPs[priority].forceEnabled && !alreadyLocked())
|
