1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

Eliminate type alias CommandMask

This commit is contained in:
Paul Licameli 2019-06-09 02:13:47 -04:00
parent 6c6d0b869e
commit 9a4c18255e
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,6 @@ static_assert(
// Type to specify conditions for enabling of a menu item // Type to specify conditions for enabling of a menu item
using CommandFlag = std::bitset<NCommandFlags>; using CommandFlag = std::bitset<NCommandFlags>;
using CommandMask = CommandFlag;
// Special constant values // Special constant values
constexpr CommandFlag constexpr CommandFlag

View File

@ -1021,7 +1021,8 @@ void CommandManager::SetKeyFromIndex(int i, const NormalizedKeyString &key)
entry->key = key; entry->key = key;
} }
void CommandManager::TellUserWhyDisallowed( const wxString & Name, CommandFlag flagsGot, CommandMask flagsRequired ) void CommandManager::TellUserWhyDisallowed(
const wxString & Name, CommandFlag flagsGot, CommandFlag flagsRequired )
{ {
// The default string for 'reason' is a catch all. I hope it won't ever be seen // The default string for 'reason' is a catch all. I hope it won't ever be seen
// and that we will get something more specific. // and that we will get something more specific.