aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Print.cpp
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-09-07 18:41:05 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-09-07 18:41:05 -0400
commit8b13206e655cd9c1123d842cab1fdd0afd6edc8b (patch)
tree7bc160ae231726989f023ccc6a5fe84d685e4c42 /cores/arduino/Print.cpp
parent3c66dc1b8d1de4b93fce7f447901559591976a26 (diff)
Making Print::write(char *) non-virtual.
http://code.google.com/p/arduino/issues/detail?id=607
Diffstat (limited to 'cores/arduino/Print.cpp')
-rwxr-xr-xcores/arduino/Print.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp
index 8190d4f..500de8c 100755
--- a/cores/arduino/Print.cpp
+++ b/cores/arduino/Print.cpp
@@ -30,16 +30,6 @@
// Public Methods //////////////////////////////////////////////////////////////
/* default implementation: may be overridden */
-size_t Print::write(const char *str)
-{
- size_t n = 0;
- while (*str) {
- n += write(*str++);
- }
- return n;
-}
-
-/* default implementation: may be overridden */
size_t Print::write(const uint8_t *buffer, size_t size)
{
size_t n = 0;