From 0b7baa7e5a556f82988ad4f6b39fed8cd38ae9fd Mon Sep 17 00:00:00 2001 From: Lenny Maiorani Date: Wed, 23 Mar 2022 20:58:03 -0600 Subject: Services: Use default constructors/destructors https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler." --- Userland/Services/DHCPClient/DHCPv4Client.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Userland/Services/DHCPClient/DHCPv4Client.cpp') diff --git a/Userland/Services/DHCPClient/DHCPv4Client.cpp b/Userland/Services/DHCPClient/DHCPv4Client.cpp index 7de5097336..b9a4a0a2f8 100644 --- a/Userland/Services/DHCPClient/DHCPv4Client.cpp +++ b/Userland/Services/DHCPClient/DHCPv4Client.cpp @@ -201,10 +201,6 @@ ErrorOr DHCPv4Client::get_discoverable_interfaces() }; } -DHCPv4Client::~DHCPv4Client() -{ -} - void DHCPv4Client::handle_offer(const DHCPv4Packet& packet, const ParsedDHCPv4Options& options) { dbgln("We were offered {} for {}", packet.yiaddr().to_string(), options.get(DHCPOption::IPAddressLeaseTime).value_or(0)); -- cgit v1.2.3