mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fix or suppress clang-tidy warnings (#8254)
This commit is contained in:
@@ -4,14 +4,16 @@
|
||||
|
||||
#include "commands/TeleopArcadeDrive.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "subsystems/Drivetrain.h"
|
||||
|
||||
TeleopArcadeDrive::TeleopArcadeDrive(
|
||||
Drivetrain* subsystem, std::function<double()> xaxisSpeedSupplier,
|
||||
std::function<double()> zaxisRotateSuppplier)
|
||||
: m_drive{subsystem},
|
||||
m_xaxisSpeedSupplier{xaxisSpeedSupplier},
|
||||
m_zaxisRotateSupplier{zaxisRotateSuppplier} {
|
||||
m_xaxisSpeedSupplier{std::move(xaxisSpeedSupplier)},
|
||||
m_zaxisRotateSupplier{std::move(zaxisRotateSuppplier)} {
|
||||
AddRequirements(subsystem);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user