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:
@@ -45,7 +45,7 @@ void SelectCommandType::BuildSignature(CommandSignature &signature)
|
||||
IntValidator *lastTrackValidator = new IntValidator();
|
||||
signature.AddParameter(wxT("LastTrack"), 0, lastTrackValidator);
|
||||
|
||||
Validator *trackNameValidator = new Validator();
|
||||
Validator *trackNameValidator = new DefaultValidator();
|
||||
signature.AddParameter(wxT("TrackName"), 0, trackNameValidator);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user