We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 107090e commit 2976979Copy full SHA for 2976979
src/MqttClient.h
@@ -50,6 +50,7 @@ class MqttClient : public Client {
50
void onMessage(MessageCallback callback);
51
#else
52
inline void setClient(Client& client) { _client = &client; }
53
+ inline void setClient(Client* client) { _client = client; }
54
void onMessage(void(*)(int));
55
#endif
56
0 commit comments