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

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