Skip to content

Commit 3bbedad

Browse files
committed
Removing default value assignment within connect function
1 parent 18aadb0 commit 3bbedad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MqttClient.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ class MqttClient : public Client {
6565
void poll();
6666

6767
// from Client
68-
virtual int connect(IPAddress ip, uint16_t port = 1883);
69-
virtual int connect(const char *host, uint16_t port = 1883);
68+
virtual int connect(IPAddress ip, uint16_t port);
69+
virtual int connect(const char *host, uint16_t port);
7070
#ifdef ESP8266
7171
virtual int connect(const IPAddress& ip, uint16_t port) { return 0; }; /* ESP8266 core defines this pure virtual in Client.h */
7272
#endif

0 commit comments

Comments
 (0)