summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-29 18:43:10 +0100
committerMax Kellermann <max@musicpd.org>2018-01-29 18:43:10 +0100
commit7027da3cd3ea15d1cf77fd355f1926dacfdf07ac (patch)
tree2a6cd150471dd528b82680a2eeb787b98be0695a /src
parent005bb59797617a08804018393b5792eba1c32327 (diff)
Instance: un-inline the destructor
Allows more forward declarations.
Diffstat (limited to 'src')
-rw-r--r--src/Instance.cxx2
-rw-r--r--src/Instance.hxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index bd5d377a9..f87a53be1 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -39,6 +39,8 @@ Instance::Instance()
{
}
+Instance::~Instance() noexcept = default;
+
Partition *
Instance::FindPartition(const char *name) noexcept
{
diff --git a/src/Instance.hxx b/src/Instance.hxx
index a3d0eb61f..cd05c75f2 100644
--- a/src/Instance.hxx
+++ b/src/Instance.hxx
@@ -94,6 +94,7 @@ struct Instance final
StateFile *state_file = nullptr;
Instance();
+ ~Instance() noexcept;
/**
* Initiate shutdown. Wrapper for EventLoop::Break().