[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

@@ -50,8 +50,8 @@ class Command {
Command() = default;
virtual ~Command();
Command(const Command&);
Command& operator=(const Command&);
Command(const Command&) = default;
Command& operator=(const Command& rhs);
Command(Command&&) = default;
Command& operator=(Command&&) = default;