mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +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:
@@ -52,7 +52,7 @@
|
||||
class ErrorBase {
|
||||
// TODO: Consider initializing instance variables and cleanup in destructor
|
||||
public:
|
||||
ErrorBase();
|
||||
ErrorBase() = default;
|
||||
virtual ~ErrorBase() = default;
|
||||
virtual Error& GetError();
|
||||
virtual const Error& GetError() const;
|
||||
|
||||
Reference in New Issue
Block a user