diff options
author | Max Kellermann <max@musicpd.org> | 2017-02-17 23:21:55 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-02-17 23:21:55 +0100 |
commit | 90d25a40a0cf043cc3b1e77fb24dac3f53628382 (patch) | |
tree | daecf3974a4bcdd3478c6f9b01117533633a3672 /src/Instance.hxx | |
parent | c335f18be7e48ded9726d5bb8ccaa527fdd6d41e (diff) |
Instance: use C++11 initializer
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r-- | src/Instance.hxx | 4 |
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(). |