diff --git a/api/Print.h b/api/Print.h index 2016d7d5..8b45f603 100644 --- a/api/Print.h +++ b/api/Print.h @@ -43,6 +43,7 @@ class Print void setWriteError(int err = 1) { write_error = err; } public: Print() : write_error(0) {} + virtual ~Print() { } int getWriteError() { return write_error; } void clearWriteError() { setWriteError(0); }