We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18aadb0 commit 3bbedadCopy full SHA for 3bbedad
src/MqttClient.h
@@ -65,8 +65,8 @@ class MqttClient : public Client {
65
void poll();
66
67
// from Client
68
- virtual int connect(IPAddress ip, uint16_t port = 1883);
69
- virtual int connect(const char *host, uint16_t port = 1883);
+ virtual int connect(IPAddress ip, uint16_t port);
+ virtual int connect(const char *host, uint16_t port);
70
#ifdef ESP8266
71
virtual int connect(const IPAddress& ip, uint16_t port) { return 0; }; /* ESP8266 core defines this pure virtual in Client.h */
72
#endif
0 commit comments