mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[commands] Rename Command.repeat to repeatedly (#4379)
This commit is contained in:
@@ -206,7 +206,7 @@ class Command {
|
||||
*
|
||||
* @return the decorated command
|
||||
*/
|
||||
virtual RepeatCommand Repeat() &&;
|
||||
virtual RepeatCommand Repeatedly() &&;
|
||||
|
||||
/**
|
||||
* Decorates this command to run "by proxy" by wrapping it in a
|
||||
|
||||
@@ -69,7 +69,7 @@ class RepeatCommand : public CommandHelper<CommandBase, RepeatCommand> {
|
||||
|
||||
bool RunsWhenDisabled() const override;
|
||||
|
||||
RepeatCommand Repeat() && override;
|
||||
RepeatCommand Repeatedly() && override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<Command> m_command;
|
||||
|
||||
Reference in New Issue
Block a user