Commit 7e9bbf3e authored by Christoph Cullmann's avatar Christoph Cullmann

fix MSVC compile

parent ff9785fa
......@@ -162,13 +162,12 @@ public:
};
int count = 0;
auto const None = LSPClientServer::State::None;
for (const auto & el: m_servers) {
for (const auto & s: el) {
disconnect(s.get(), nullptr, this, nullptr);
if (s->state() != None) {
if (s->state() != LSPClientServer::State::None) {
auto handler = [&q, &count, s] () {
if (s->state() != None) {
if (s->state() != LSPClientServer::State::None) {
if (--count == 0) {
q.quit();
}
......
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