summaryrefslogtreecommitdiff
path: root/src/Instance.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-02-17 23:21:55 +0100
committerMax Kellermann <max@musicpd.org>2017-02-17 23:21:55 +0100
commit90d25a40a0cf043cc3b1e77fb24dac3f53628382 (patch)
treedaecf3974a4bcdd3478c6f9b01117533633a3672 /src/Instance.hxx
parentc335f18be7e48ded9726d5bb8ccaa527fdd6d41e (diff)
Instance: use C++11 initializer
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r--src/Instance.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx
index 5e1d40024..d3391d64f 100644
--- a/src/Instance.hxx
+++ b/src/Instance.hxx
@@ -89,10 +89,10 @@ struct Instance final
Partition *partition;
- StateFile *state_file;
+ StateFile *state_file = nullptr;
Instance()
- :idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)), state_file(nullptr) {}
+ :idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)) {}
/**
* Initiate shutdown. Wrapper for EventLoop::Break().