From 2d222b6bb053273c7a6bb3555eaeb66680b65ef3 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Wed, 29 Jun 2022 14:41:26 +0200 Subject: [PATCH] Fix compiler warning --- src/espwifiutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/espwifiutils.h b/src/espwifiutils.h index 4700b66..c1f17bd 100644 --- a/src/espwifiutils.h +++ b/src/espwifiutils.h @@ -94,7 +94,7 @@ public: constexpr const uint8_t &operator[](int index) const noexcept { return _bytes[index]; } // Overloaded copy operators to allow initialisation of ip_address_t objects from other types - constexpr ip_address_t& operator=(const ip_address_t &other) noexcept { _value = other._value; return *this; } + //constexpr ip_address_t& operator=(const ip_address_t &other) noexcept { _value = other._value; return *this; } constexpr ip_address_t& operator=(std::array bytes) noexcept { _bytes = bytes; return *this; } constexpr ip_address_t& operator=(value_t value) noexcept { _value = value; return *this; } };