From 93f75682965bdaf3cfaa5fc5fa0b392540eb6067 Mon Sep 17 00:00:00 2001 From: Eldon Allred Date: Thu, 1 Mar 2018 13:10:36 -0500 Subject: [PATCH] Making the client objects protected so children classes can access the underlying clients fixes #1006 --- libraries/MQTTClient/EthernetStack.h | 2 +- libraries/MQTTClient/WifiIPStack.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/MQTTClient/EthernetStack.h b/libraries/MQTTClient/EthernetStack.h index b855d87d380..5782051d95a 100644 --- a/libraries/MQTTClient/EthernetStack.h +++ b/libraries/MQTTClient/EthernetStack.h @@ -67,7 +67,7 @@ class EthernetStack return 0; } -private: +protected: EthernetClient client; diff --git a/libraries/MQTTClient/WifiIPStack.h b/libraries/MQTTClient/WifiIPStack.h index 8cc00417fb7..9196e277507 100644 --- a/libraries/MQTTClient/WifiIPStack.h +++ b/libraries/MQTTClient/WifiIPStack.h @@ -68,7 +68,7 @@ class WifiIPStack return 0; } -private: +protected: WiFiClient iface;