diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-09-07 18:41:05 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-09-07 18:41:05 -0400 |
commit | 8b13206e655cd9c1123d842cab1fdd0afd6edc8b (patch) | |
tree | 7bc160ae231726989f023ccc6a5fe84d685e4c42 /cores/arduino/Print.cpp | |
parent | 3c66dc1b8d1de4b93fce7f447901559591976a26 (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-x | cores/arduino/Print.cpp | 10 |
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; |