mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Everywhere: Define even more destructors out of line
You guessed it, this fixes compilation with LLVM trunk.
This commit is contained in:
1 parent
c03cca7b2f
commit
2360df3ab8
8 files changed
+14
-3
No files matched your search
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/Error.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/Stream.h>
|
||||
|
||||
@@ -88,6 +88,8 @@ FunctionDefinition::FunctionDefinition(Declaration&& declaration, Location locat
|
||||
{
|
||||
}
|
||||
|
||||
FunctionDefinition::~FunctionDefinition() = default;
|
||||
|
||||
void FunctionDefinition::reindex_ssa_variables()
|
||||
{
|
||||
size_t index = 0;
|
||||
|
||||
@@ -139,6 +139,7 @@ private:
|
||||
class FunctionDefinition : public FunctionDeclaration {
|
||||
public:
|
||||
FunctionDefinition(Declaration&& declaration, Location location, Tree ast);
|
||||
~FunctionDefinition();
|
||||
|
||||
void reindex_ssa_variables();
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <AK/Forward.h>
|
||||
#include <AK/Span.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/Socket.h>
|
||||
|
||||
namespace Core {
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@ DropEvent::DropEvent(Gfx::IntPoint position, ByteString const& text, NonnullRefP
|
||||
{
|
||||
}
|
||||
|
||||
DropEvent::~DropEvent() = default;
|
||||
|
||||
ByteString KeyEvent::to_byte_string() const
|
||||
{
|
||||
Vector<ByteString, 8> parts;
|
||||
@@ -53,4 +55,6 @@ ActionEvent::ActionEvent(Type type, Action& action)
|
||||
{
|
||||
}
|
||||
|
||||
ActionEvent::~ActionEvent() = default;
|
||||
|
||||
}
|
||||
@@ -503,7 +503,7 @@ class DropEvent final : public Event {
|
||||
public:
|
||||
DropEvent(Gfx::IntPoint, ByteString const& text, NonnullRefPtr<Core::MimeData const> 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; }
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user