File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 33using namespace std ;
44
55/* -------------------------------------------------------------------------- */
6- WiFiClient::WiFiClient () : _sock(-1 ), destroy_at_distructor( true ), rx_buffer(nullptr ) {
6+ WiFiClient::WiFiClient () : _sock(-1 ), rx_buffer(nullptr ) {
77 rx_buffer = std::shared_ptr<FifoBuffer<uint8_t ,RX_BUFFER_DIM>>(new FifoBuffer<uint8_t ,RX_BUFFER_DIM>());
88}
99/* -------------------------------------------------------------------------- */
1010
1111/* -------------------------------------------------------------------------- */
12- WiFiClient::WiFiClient (int s) : _sock(s), destroy_at_distructor( false ), rx_buffer(nullptr ) {
12+ WiFiClient::WiFiClient (int s) : _sock(s), rx_buffer(nullptr ) {
1313 rx_buffer = std::shared_ptr<FifoBuffer<uint8_t ,RX_BUFFER_DIM>>(new FifoBuffer<uint8_t ,RX_BUFFER_DIM>());
1414}
1515/* -------------------------------------------------------------------------- */
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ class WiFiClient : public Client {
7070
7171protected:
7272 int _sock;
73- bool destroy_at_distructor;
7473 int _connectionTimeout = 0 ;
7574 void getSocket ();
7675 static constexpr uint32_t RX_BUFFER_DIM = 1024 ;
You can’t perform that action at this time.
0 commit comments