mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
Fixed classes with undefined constructor.
IterativeRobot and BinaryImage had no constructor defined (and so would give linker errors). Error just had an empty constructor defined, so I switched to "=default". Change-Id: Ia8efb4282928227878dfefeda58ccb8cf06aabb2
This commit is contained in:
@@ -20,7 +20,7 @@ class Error {
|
||||
public:
|
||||
typedef int32_t Code;
|
||||
|
||||
Error();
|
||||
Error() = default;
|
||||
void Clone(const Error& error);
|
||||
Code GetCode() const;
|
||||
std::string GetMessage() const;
|
||||
|
||||
Reference in New Issue
Block a user