mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
Command validator cloners return smart pointers, and...
... defined DefaultValidator so Validator can be abstract, as the comment for Clone() stongly implies it should be. But this is virtual is unused except in comments.
This commit is contained in:
@@ -23,7 +23,7 @@ wxString MessageCommandType::BuildName()
|
||||
|
||||
void MessageCommandType::BuildSignature(CommandSignature &signature)
|
||||
{
|
||||
Validator *stringValidator = new Validator();
|
||||
Validator *stringValidator = new DefaultValidator();
|
||||
signature.AddParameter(wxT("MessageString"), wxT(""), stringValidator);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user