Commit 7027da3c authored by Max Kellermann's avatar Max Kellermann

Instance: un-inline the destructor

Allows more forward declarations.
parent 005bb597
...@@ -39,6 +39,8 @@ Instance::Instance() ...@@ -39,6 +39,8 @@ Instance::Instance()
{ {
} }
Instance::~Instance() noexcept = default;
Partition * Partition *
Instance::FindPartition(const char *name) noexcept Instance::FindPartition(const char *name) noexcept
{ {
......
...@@ -94,6 +94,7 @@ struct Instance final ...@@ -94,6 +94,7 @@ struct Instance final
StateFile *state_file = nullptr; StateFile *state_file = nullptr;
Instance(); Instance();
~Instance() noexcept;
/** /**
* Initiate shutdown. Wrapper for EventLoop::Break(). * Initiate shutdown. Wrapper for EventLoop::Break().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment