aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Printable.h
diff options
context:
space:
mode:
authoramcewen <amcewen@bcs.org.uk>2011-08-27 23:53:42 +0100
committeramcewen <amcewen@bcs.org.uk>2011-08-27 23:53:42 +0100
commitf9d50a793010db3a2968262f35d34edaf048a650 (patch)
tree5b66626e02248e4e0f9a3d61a0989c1b07e30ab0 /cores/arduino/Printable.h
parent58aaa903f8aaaf7735ca2df803ec028b420a754b (diff)
parent5130a1329462aa36d5f18e31851d3d9d5086e411 (diff)
Merge branch 'new-extension' of https://github.com/arduino/Arduino
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