diff --git a/AK/MemoryStream.h b/AK/MemoryStream.h index 192de0febbe..780cbad5424 100644 --- a/AK/MemoryStream.h +++ b/AK/MemoryStream.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include #include diff --git a/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.cpp b/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.cpp index b5618358f37..83db972a179 100644 --- a/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.cpp @@ -88,6 +88,8 @@ FunctionDefinition::FunctionDefinition(Declaration&& declaration, Location locat { } +FunctionDefinition::~FunctionDefinition() = default; + void FunctionDefinition::reindex_ssa_variables() { size_t index = 0; diff --git a/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.h b/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.h index 28bca950798..c9f08ac7ca5 100644 --- a/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.h +++ b/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/Function.h @@ -139,6 +139,7 @@ private: class FunctionDefinition : public FunctionDeclaration { public: FunctionDefinition(Declaration&& declaration, Location location, Tree ast); + ~FunctionDefinition(); void reindex_ssa_variables(); diff --git a/Userland/Libraries/LibCore/Process.h b/Userland/Libraries/LibCore/Process.h index a870b97be78..ad694352790 100644 --- a/Userland/Libraries/LibCore/Process.h +++ b/Userland/Libraries/LibCore/Process.h @@ -13,6 +13,7 @@ #include #include #include +#include namespace Core { diff --git a/Userland/Libraries/LibGUI/Event.cpp b/Userland/Libraries/LibGUI/Event.cpp index 5952407be51..ddeb8b9ddb8 100644 --- a/Userland/Libraries/LibGUI/Event.cpp +++ b/Userland/Libraries/LibGUI/Event.cpp @@ -20,6 +20,8 @@ DropEvent::DropEvent(Gfx::IntPoint position, ByteString const& text, NonnullRefP { } +DropEvent::~DropEvent() = default; + ByteString KeyEvent::to_byte_string() const { Vector parts; @@ -53,4 +55,6 @@ ActionEvent::ActionEvent(Type type, Action& action) { } +ActionEvent::~ActionEvent() = default; + } diff --git a/Userland/Libraries/LibGUI/Event.h b/Userland/Libraries/LibGUI/Event.h index b978daaa074..df41e8c1402 100644 --- a/Userland/Libraries/LibGUI/Event.h +++ b/Userland/Libraries/LibGUI/Event.h @@ -503,7 +503,7 @@ class DropEvent final : public Event { public: DropEvent(Gfx::IntPoint, ByteString const& text, NonnullRefPtr mime_data); - ~DropEvent() = default; + ~DropEvent(); Gfx::IntPoint position() const { return m_position; } ByteString const& text() const { return m_text; } @@ -579,7 +579,7 @@ private: class ActionEvent final : public Event { public: ActionEvent(Type, Action&); - ~ActionEvent() = default; + ~ActionEvent(); Action const& action() const { return *m_action; } Action& action() { return *m_action; } diff --git a/Userland/Libraries/LibGUI/HeaderView.cpp b/Userland/Libraries/LibGUI/HeaderView.cpp index aee2792ee76..797569744b4 100644 --- a/Userland/Libraries/LibGUI/HeaderView.cpp +++ b/Userland/Libraries/LibGUI/HeaderView.cpp @@ -31,6 +31,8 @@ HeaderView::HeaderView(AbstractTableView& table_view, Gfx::Orientation orientati } } +HeaderView::~HeaderView() = default; + void HeaderView::set_section_size(int section, int size) { auto& data = section_data(section); diff --git a/Userland/Libraries/LibGUI/HeaderView.h b/Userland/Libraries/LibGUI/HeaderView.h index 4384731b806..f5f4a916d1d 100644 --- a/Userland/Libraries/LibGUI/HeaderView.h +++ b/Userland/Libraries/LibGUI/HeaderView.h @@ -16,7 +16,7 @@ class HeaderView final : public Widget { C_OBJECT(HeaderView); public: - virtual ~HeaderView() override = default; + virtual ~HeaderView() override; Gfx::Orientation orientation() const { return m_orientation; }