clang-tidy: modernize-use-equals-default

This commit is contained in:
Peter Johnson
2020-12-28 00:37:33 -08:00
parent b124f9101b
commit 67e03e625d
30 changed files with 51 additions and 51 deletions

View File

@@ -220,7 +220,7 @@ RobotBase::RobotBase() : m_ds(DriverStation::GetInstance()) {
RobotBase::RobotBase(RobotBase&&) noexcept
: m_ds(DriverStation::GetInstance()) {}
RobotBase::~RobotBase() {}
RobotBase::~RobotBase() = default;
RobotBase& RobotBase::operator=(RobotBase&&) noexcept {
return *this;