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:
James Kuszmaul
2015-07-17 14:48:50 -04:00
parent c776324f96
commit eb7d55fd59
6 changed files with 3 additions and 10 deletions

View File

@@ -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;