mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
"delete"->"DELETE" in comments, easier to find remaining naked operator delete
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
/// Get a pointer to the singleton instance
|
||||
static CommandDirectory *Get();
|
||||
|
||||
/// Manually delete the singleton instance
|
||||
/// Manually DELETE the singleton instance
|
||||
static void Destroy();
|
||||
};
|
||||
|
||||
|
@@ -53,7 +53,7 @@ void CommandHandler::OnReceiveCommand(AppCommandEvent &event)
|
||||
// different project.
|
||||
cmd->Apply(*mCurrentContext);
|
||||
|
||||
// Done with the command so delete it.
|
||||
// Done with the command so DELETE it.
|
||||
delete cmd;
|
||||
|
||||
// Redraw the project
|
||||
|
@@ -420,7 +420,7 @@ void CommandManager::PurgeData()
|
||||
for(i=0; i<mCommandList.GetCount(); i++)
|
||||
{
|
||||
CommandListEntry *tmpEntry = mCommandList[i];
|
||||
// JKC: We only want to delete each callbacks once.
|
||||
// JKC: We only want to DELETE each callbacks once.
|
||||
// AddItemList() may have inserted the same callback
|
||||
// several times over.
|
||||
if( tmpEntry->callback != pCallback )
|
||||
|
@@ -38,7 +38,7 @@ public:
|
||||
// Add a parameter to the signature.
|
||||
// name: the parameter name (case-sensitive)
|
||||
// dft: a default value
|
||||
// valid: a suitable validator (caller doesn't need to delete it)
|
||||
// valid: a suitable validator (caller doesn't need to DELETE it)
|
||||
void AddParameter(const wxString &name,
|
||||
const wxVariant &dft,
|
||||
Validator *valid);
|
||||
|
Reference in New Issue
Block a user