[wpilibc] Make ShuffleboardValue non-copyable (#3430)

This avoids the possibility of it being accidentally sliced by users.
This commit is contained in:
Peter Johnson
2021-06-11 20:16:35 -07:00
committed by GitHub
parent 4d9ff76433
commit cfa1ca96f2
2 changed files with 11 additions and 7 deletions

View File

@@ -18,6 +18,9 @@ class ShuffleboardValue {
virtual ~ShuffleboardValue() = default;
ShuffleboardValue(const ShuffleboardValue&) = delete;
ShuffleboardValue& operator=(const ShuffleboardValue&) = delete;
/**
* Gets the title of this Shuffleboard value.
*/