Skip to content

Commit

Permalink
Place deprecated attribute in front of function (#8258)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxan authored Sep 1, 2021
1 parent f7951e6 commit fb5c4a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/ESP8266WiFi/src/WiFiClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ class WiFiClient : public Client, public SList<WiFiClient> {
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;
Expand Down

0 comments on commit fb5c4a6

Please sign in to comment.