command_sequence : autorisation temporaire de code mort pour la fonction add
encore inutilisée
This commit is contained in:
parent
705e11fcab
commit
8194f61b2c
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ impl CommandSequence {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn add(&mut self, command: Box<dyn Command>) {
|
||||
if self.next_command.is_none() {
|
||||
self.next_command = Some(Box::new(Self::new(command)));
|
||||
|
|
Loading…
Reference in a new issue