Make a member function const

This commit is contained in:
Paul Licameli 2019-04-22 17:41:14 -04:00
parent 2d6e8f3964
commit a31636aa1a
2 changed files with 2 additions and 2 deletions

View File

@ -419,7 +419,7 @@ ReservedCommandFlag::ReservedCommandFlag(
Options().emplace_back( options );
}
CommandFlag MenuManager::GetUpdateFlags( bool checkActive )
CommandFlag MenuManager::GetUpdateFlags( bool checkActive ) const
{
// This method determines all of the flags that determine whether
// certain menu items and commands should be enabled or disabled,

View File

@ -79,7 +79,7 @@ public:
// If checkActive, do not do complete flags testing on an
// inactive project as it is needlessly expensive.
CommandFlag GetUpdateFlags( bool checkActive = false );
CommandFlag GetUpdateFlags( bool checkActive = false ) const;
void UpdatePrefs() override;
// Command Handling