Commit 90d25a40 authored by Max Kellermann's avatar Max Kellermann

Instance: use C++11 initializer

parent c335f18b
...@@ -89,10 +89,10 @@ struct Instance final ...@@ -89,10 +89,10 @@ struct Instance final
Partition *partition; Partition *partition;
StateFile *state_file; StateFile *state_file = nullptr;
Instance() 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(). * 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