1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Making Print::write(char *) non-virtual.

http://code.google.com/p/arduino/issues/detail?id=607
This commit is contained in:
David A. Mellis
2011-09-07 18:41:05 -04:00
parent 3cbbb17e9f
commit 7d8d20894c
17 changed files with 15 additions and 48 deletions

View File

@ -62,10 +62,6 @@ size_t File::write(uint8_t val) {
return write(&val, 1);
}
size_t File::write(const char *str) {
return write((const uint8_t *) str, strlen(str));
}
size_t File::write(const uint8_t *buf, size_t size) {
size_t t;
if (!_file) {