Skip to content

Commit 8f2118b

Browse files
committed
Turning _netConnectionState private so that derived classes can't access it (which they should not need anyway)
1 parent 1d5589b commit 8f2118b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_ConnectionHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ class ConnectionHandler {
183183
protected:
184184

185185
bool _keep_alive;
186-
NetworkConnectionState _netConnectionState;
187186

188187
void execCallback(NetworkConnectionEvent const event);
189188

@@ -197,6 +196,7 @@ class ConnectionHandler {
197196
private:
198197

199198
unsigned long _lastConnectionTickTime;
199+
NetworkConnectionState _netConnectionState;
200200
OnNetworkEventCallback _on_connect_event_callback = NULL,
201201
_on_disconnect_event_callback = NULL,
202202
_on_error_event_callback = NULL;

0 commit comments

Comments
 (0)