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

@ -74,10 +74,6 @@ size_t EthernetClient::write(uint8_t b) {
return write(&b, 1);
}
size_t EthernetClient::write(const char *str) {
return write((const uint8_t *) str, strlen(str));
}
size_t EthernetClient::write(const uint8_t *buf, size_t size) {
if (_sock == MAX_SOCK_NUM) {
setWriteError();