aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Printable.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/Printable.h')
-rw-r--r--cores/arduino/Printable.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cores/arduino/Printable.h b/cores/arduino/Printable.h
index 5ff6077..d03c9af 100644
--- a/cores/arduino/Printable.h
+++ b/cores/arduino/Printable.h
@@ -33,8 +33,7 @@ class Print;
class Printable
{
public:
- virtual ~Printable() {};
- virtual void printTo(Print& p) const =0;
+ virtual size_t printTo(Print& p) const = 0;
};
#endif