mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Libraries: Use default constructors/destructors in LibSyntax
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."
This commit is contained in:
committed by
Andreas Kling
parent
7abb782206
commit
7cc6ba16be
Notes:
sideshowbarker
2024-07-17 17:29:00 +09:00
Author: https://github.com/ldm5180 Commit: https://github.com/SerenityOS/serenity/commit/7cc6ba16be Pull-request: https://github.com/SerenityOS/serenity/pull/13017
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020-2021, the SerenityOS developers.
|
||||
* Copyright (c) 2020-2022, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
@@ -10,10 +10,6 @@
|
||||
|
||||
namespace Syntax {
|
||||
|
||||
Highlighter::~Highlighter()
|
||||
{
|
||||
}
|
||||
|
||||
void Highlighter::highlight_matching_token_pair()
|
||||
{
|
||||
auto& document = m_client->get_document();
|
||||
|
||||
Reference in New Issue
Block a user