1
0
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:
Paul Licameli
2016-02-14 18:50:45 -05:00
parent 6706b19af8
commit 56e7653343
56 changed files with 111 additions and 111 deletions

View File

@@ -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();
};

View File

@@ -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

View File

@@ -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 )

View File

@@ -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);