8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3307356 commit 9dab7bbCopy full SHA for 9dab7bb
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