We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9958855 commit f617c42Copy full SHA for f617c42
api/Print.h
@@ -43,6 +43,8 @@ class Print
43
void setWriteError(int err = 1) { write_error = err; }
44
public:
45
Print() : write_error(0) {}
46
+ virtual ~Print() {}
47
+
48
49
int getWriteError() { return write_error; }
50
void clearWriteError() { setWriteError(0); }
api/Printable.h
@@ -34,6 +34,7 @@ class Print;
34
class Printable
35
{
36
37
+ virtual ~Printable() {}
38
virtual size_t printTo(Print& p) const = 0;
39
};
40
0 commit comments