From 3595634e35c971869d3600ed9cdb7284183a0749 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Wed, 22 Jun 2022 14:53:55 +0200 Subject: [PATCH] Fix to compile under cpp23 again successfully --- src/asyncudplistener.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/asyncudplistener.h b/src/asyncudplistener.h index df4ee96..68a4cab 100644 --- a/src/asyncudplistener.h +++ b/src/asyncudplistener.h @@ -23,14 +23,14 @@ using pbufUniquePtr = std::unique_ptr; struct UdpPacketWrapper { - //UdpPacketWrapper(pbufUniquePtr &&pb, const ip_addr_t *addr, uint16_t port, struct netif * netif); - ~UdpPacketWrapper() = default; +// UdpPacketWrapper(pbufUniquePtr &&pb, const ip_addr_t *addr, uint16_t port, struct netif * netif); +// ~UdpPacketWrapper() = default; - UdpPacketWrapper(UdpPacketWrapper &&other) = default; - UdpPacketWrapper(const UdpPacketWrapper &other) = delete; +// UdpPacketWrapper(UdpPacketWrapper &&other) = default; +// UdpPacketWrapper(const UdpPacketWrapper &other) = delete; - UdpPacketWrapper &operator=(UdpPacketWrapper &&other) = default; - UdpPacketWrapper &operator=(const UdpPacketWrapper &other) = delete; +// UdpPacketWrapper &operator=(UdpPacketWrapper &&other) = default; +// UdpPacketWrapper &operator=(const UdpPacketWrapper &other) = delete; auto data() const { return _data; }