summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@serenityos.org>2022-02-26 10:32:34 -0700
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-03-10 18:04:26 -0800
commitd5d795b55ef0a314c02f2595e7f134945b941dc1 (patch)
tree34163ad45f649fe28c8ec3a13355820f1c2bccfe /Userland
parentf1c452059c130e82833a4600feeb80dbdfe55865 (diff)
downloadserenity-d5d795b55ef0a314c02f2595e7f134945b941dc1.zip
Libraries: Use default constructors/destructors in LibDebug
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')
-rw-r--r--Userland/Libraries/LibDebug/ProcessInspector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibDebug/ProcessInspector.h b/Userland/Libraries/LibDebug/ProcessInspector.h
index c1404a1afe..315d3e520f 100644
--- a/Userland/Libraries/LibDebug/ProcessInspector.h
+++ b/Userland/Libraries/LibDebug/ProcessInspector.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2021, Itamar S. <itamar8910@gmail.com>
+ * Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -14,7 +15,7 @@ namespace Debug {
class ProcessInspector {
public:
- virtual ~ProcessInspector() { }
+ virtual ~ProcessInspector() = default;
virtual bool poke(FlatPtr address, FlatPtr data) = 0;
virtual Optional<FlatPtr> peek(FlatPtr address) const = 0;
virtual PtraceRegisters get_registers() const = 0;