Skip to content

Commit 684d302

Browse files
authored
Remove faulty constructor in header
1 parent 67ac709 commit 684d302

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cores/esp32/IPAddress.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ class IPAddress: public Printable
5757
IPAddress(uint32_t address) { *this = address; }
5858
IPAddress(int address) { *this = address; }
5959
IPAddress(const uint8_t *address) { *this = address; }
60-
IPAddress(IPType type, const uint8_t *address);
61-
IPAddress(IPType type, const uint8_t *address, uint8_t zone);
60+
IPAddress(IPType type, const uint8_t *address, uint8_t zone = 0);
6261

6362
bool fromString(const char *address);
6463
bool fromString(const String &address) { return fromString(address.c_str()); }

0 commit comments

Comments
 (0)