mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Minor code clean-ups.
This commit is contained in:
parent
b161c0f437
commit
cac473bb1e
8 changed files with 27 additions and 27 deletions
|
|
@ -18601,7 +18601,7 @@ const String ApplicationCommandManager::getDescriptionOfCommand (const CommandID
|
|||
: String::empty;
|
||||
}
|
||||
|
||||
const StringArray ApplicationCommandManager::getCommandCategories() const throw()
|
||||
const StringArray ApplicationCommandManager::getCommandCategories() const
|
||||
{
|
||||
StringArray s;
|
||||
|
||||
|
|
@ -18611,7 +18611,7 @@ const StringArray ApplicationCommandManager::getCommandCategories() const throw(
|
|||
return s;
|
||||
}
|
||||
|
||||
const Array <CommandID> ApplicationCommandManager::getCommandsInCategory (const String& categoryName) const throw()
|
||||
const Array <CommandID> ApplicationCommandManager::getCommandsInCategory (const String& categoryName) const
|
||||
{
|
||||
Array <CommandID> results;
|
||||
|
||||
|
|
@ -18746,12 +18746,12 @@ ApplicationCommandTarget* ApplicationCommandManager::findDefaultComponentTarget(
|
|||
return JUCEApplication::getInstance();
|
||||
}
|
||||
|
||||
void ApplicationCommandManager::addListener (ApplicationCommandManagerListener* const listener) throw()
|
||||
void ApplicationCommandManager::addListener (ApplicationCommandManagerListener* const listener)
|
||||
{
|
||||
listeners.add (listener);
|
||||
}
|
||||
|
||||
void ApplicationCommandManager::removeListener (ApplicationCommandManagerListener* const listener) throw()
|
||||
void ApplicationCommandManager::removeListener (ApplicationCommandManagerListener* const listener)
|
||||
{
|
||||
listeners.remove (listener);
|
||||
}
|
||||
|
|
@ -18913,7 +18913,7 @@ bool ApplicationCommandTarget::invokeDirectly (const CommandID commandID, const
|
|||
return invoke (info, asynchronously);
|
||||
}
|
||||
|
||||
ApplicationCommandTarget::InvocationInfo::InvocationInfo (const CommandID commandID_) throw()
|
||||
ApplicationCommandTarget::InvocationInfo::InvocationInfo (const CommandID commandID_)
|
||||
: commandID (commandID_),
|
||||
commandFlags (0),
|
||||
invocationMethod (direct),
|
||||
|
|
@ -27527,7 +27527,7 @@ MidiBuffer& MidiBuffer::operator= (const MidiBuffer& other) throw()
|
|||
return *this;
|
||||
}
|
||||
|
||||
void MidiBuffer::swapWith (MidiBuffer& other)
|
||||
void MidiBuffer::swapWith (MidiBuffer& other) throw()
|
||||
{
|
||||
data.swapWith (other.data);
|
||||
swapVariables <int> (bytesUsed, other.bytesUsed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue