purduesigbots / pros

Source code for PROS kernel: open source C/C++ development for the VEX V5 microcontroller
https://pros.cs.purdue.edu
Other
259 stars 76 forks source link

✨PROS 4: Make constructors explicit #516

Closed ryan-doan closed 1 year ago

ryan-doan commented 1 year ago

Summary:

Add "explicit" to devices' constructors.

Motivation:

Prevent implicit copies and conversion of classes.

References (optional):

PROS 4: Rotation Class ctors not explicit #515

Test Plan:

WillXuCodes commented 1 year ago

Closing since this is branched off develop, please branch off develop-pros-4