summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibVT/EscapeSequenceParser.h
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@serenityos.org>2022-03-04 13:27:47 -0700
committerAndreas Kling <kling@serenityos.org>2022-03-13 22:34:38 +0100
commit8b334248e474d939ea8bf00fa9c57f9eabcd3bd4 (patch)
tree0679a2dc95ffbbe9d05d0ac33163f8f98800709c /Userland/Libraries/LibVT/EscapeSequenceParser.h
parenta53c00f1df5e6e8eafd9ea32d51f5a7fa0aa3f1c (diff)
downloadserenity-8b334248e474d939ea8bf00fa9c57f9eabcd3bd4.zip
Libraries: Use default constructors/destructors in LibVT
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/LibVT/EscapeSequenceParser.h')
-rw-r--r--Userland/Libraries/LibVT/EscapeSequenceParser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibVT/EscapeSequenceParser.h b/Userland/Libraries/LibVT/EscapeSequenceParser.h
index 4a05bedcb4..5f4b5ad87d 100644
--- a/Userland/Libraries/LibVT/EscapeSequenceParser.h
+++ b/Userland/Libraries/LibVT/EscapeSequenceParser.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021, the SerenityOS developers.
+ * Copyright (c) 2021-2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -17,7 +17,7 @@
namespace VT {
class EscapeSequenceExecutor {
public:
- virtual ~EscapeSequenceExecutor() { }
+ virtual ~EscapeSequenceExecutor() = default;
using Parameters = Span<const unsigned>;
using Intermediates = Span<const u8>;
@@ -37,7 +37,7 @@ public:
class EscapeSequenceParser {
public:
explicit EscapeSequenceParser(EscapeSequenceExecutor&);
- ~EscapeSequenceParser();
+ ~EscapeSequenceParser() = default;
ALWAYS_INLINE void on_input(u8 byte)
{