Skip to content

Commit 134ada5

Browse files
committed
fix(mac): Make constructor explicit
1 parent fb49b6d commit 134ada5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/MacAddress.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class MacAddress : public Printable {
5454
MacAddress(const uint8_t *macbytearray) : MacAddress(MAC6, macbytearray) {}
5555

5656
MacAddress(const char *macstr);
57-
MacAddress(const String &macstr);
57+
explicit MacAddress(const String &macstr);
5858

5959
virtual ~MacAddress() {}
6060

0 commit comments

Comments
 (0)