mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilibc] Make ShuffleboardValue non-copyable (#3430)
This avoids the possibility of it being accidentally sliced by users.
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user