[wpilibc] Use default copies and moves when possible (#3381)

The removal of ErrorBase allowed the defaults to be used in more places.
This commit is contained in:
Tyler Veness
2021-05-25 20:54:39 -07:00
committed by GitHub
parent fb2a56e2d6
commit 7e1b27554c
6 changed files with 6 additions and 39 deletions

View File

@@ -21,8 +21,6 @@ Command::~Command() {
CommandScheduler::GetInstance().Cancel(this);
}
Command::Command(const Command& rhs) = default;
Command& Command::operator=(const Command& rhs) {
m_isGrouped = false;
return *this;