summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGemini/Job.h
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@serenityos.org>2022-02-26 10:55:15 -0700
committerAndreas Kling <kling@serenityos.org>2022-03-13 22:34:38 +0100
commit97fcbdd19925baf15355d9a4f492f8df67ed584a (patch)
tree4dad163dd814ca014da7dacacf3edf93f7edc24c /Userland/Libraries/LibGemini/Job.h
parentc1e6fc67a1f20ada1b4ef881ac1d3bdabf360f34 (diff)
downloadserenity-97fcbdd19925baf15355d9a4f492f8df67ed584a.zip
Libraries: Use default constructors/destructors in LibGemini
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/Libraries/LibGemini/Job.h')
-rw-r--r--Userland/Libraries/LibGemini/Job.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGemini/Job.h b/Userland/Libraries/LibGemini/Job.h
index 7505903433..ca9342eb0c 100644
--- a/Userland/Libraries/LibGemini/Job.h
+++ b/Userland/Libraries/LibGemini/Job.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020, the SerenityOS developers.
+ * Copyright (c) 2020-2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -18,7 +18,7 @@ class Job : public Core::NetworkJob {
public:
explicit Job(const GeminiRequest&, Core::Stream::Stream&);
- virtual ~Job() override;
+ virtual ~Job() override = default;
virtual void start(Core::Stream::Socket&) override;
virtual void shutdown(ShutdownMode) override;