Closed ryan-doan closed 1 year ago
Add "explicit" to devices' constructors.
Prevent implicit copies and conversion of classes.
PROS 4: Rotation Class ctors not explicit https://github.com/purduesigbots/pros/issues/515
Please switch this branch to merge to develop-pros-4 since this is a pros 4 task.
Summary:
Add "explicit" to devices' constructors.
Motivation:
Prevent implicit copies and conversion of classes.
References (optional):
PROS 4: Rotation Class ctors not explicit https://github.com/purduesigbots/pros/issues/515
Test Plan: