1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

Place deprecated attribute in front of function (#8258)

This commit is contained in:
Oxan van Leeuwen 2021-09-01 18:03:12 +02:00 committed by GitHub
parent f7951e6842
commit fb5c4a6420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,8 @@ public:
virtual size_t write(uint8_t) override;
virtual size_t write(const uint8_t *buf, size_t size) override;
virtual size_t write_P(PGM_P buf, size_t size);
size_t write(Stream& stream) [[ deprecated("use stream.sendHow(client...)") ]];
[[ deprecated("use stream.sendHow(client...)") ]]
size_t write(Stream& stream);
virtual int available() override;
virtual int read() override;