Fix build error due to variable renaming

This commit is contained in:
Ian McInerney 2020-09-30 23:42:56 +01:00
parent 2c49c406a0
commit e7c31f5dba
1 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ std::vector<ACTION_PLUGIN*> PCB_EDIT_FRAME::GetOrderedActionPlugins()
plugins.push_back( ACTION_PLUGINS::GetAction( i ) ); plugins.push_back( ACTION_PLUGINS::GetAction( i ) );
// First add plugins that have entries in settings // First add plugins that have entries in settings
for( const auto& pair : m_Settings->m_VisibleActionPlugins ) for( const auto& pair : m_settings->m_VisibleActionPlugins )
{ {
auto loc = std::find_if( plugins.begin(), plugins.end(), auto loc = std::find_if( plugins.begin(), plugins.end(),
[pair] ( ACTION_PLUGIN* plugin ) [pair] ( ACTION_PLUGIN* plugin )
@ -445,7 +445,7 @@ std::vector<ACTION_PLUGIN*> PCB_EDIT_FRAME::GetOrderedActionPlugins()
bool PCB_EDIT_FRAME::GetActionPluginButtonVisible( const wxString& aPluginPath, bool aPluginDefault ) bool PCB_EDIT_FRAME::GetActionPluginButtonVisible( const wxString& aPluginPath, bool aPluginDefault )
{ {
auto& settings = m_Settings->m_VisibleActionPlugins; auto& settings = m_settings->m_VisibleActionPlugins;
for( const auto& entry : settings ) for( const auto& entry : settings )
{ {