diff options
author | Lenny Maiorani <lenny@serenityos.org> | 2022-03-23 20:58:03 -0600 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-03-24 20:09:26 -0700 |
commit | 0b7baa7e5a556f82988ad4f6b39fed8cd38ae9fd (patch) | |
tree | 85342dfcc6110883cf5865abe3f4bdae0f308173 /Userland/Services/DHCPClient/DHCPv4Client.cpp | |
parent | 5550905c00c097b92eb5832fc92b88a00018620b (diff) | |
download | serenity-0b7baa7e5a556f82988ad4f6b39fed8cd38ae9fd.zip |
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."
Diffstat (limited to 'Userland/Services/DHCPClient/DHCPv4Client.cpp')
-rw-r--r-- | Userland/Services/DHCPClient/DHCPv4Client.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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::Interfaces> 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<u32>(DHCPOption::IPAddressLeaseTime).value_or(0)); |