Commit b6a278a5 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

lspclient: apply utils namespace properly

parent 50c6ae9c
......@@ -46,11 +46,6 @@ mem_fun(R (T::*pm)(Args ...), Tp object)
};
}
// prevent argument deduction
template<typename T> struct identity { typedef T type; };
} // namespace utils
template<typename R, typename T, typename Tp, typename... Args>
inline std::function<R(Args...)>
mem_fun(R (T::*pm)(Args ...) const, Tp object)
......@@ -60,6 +55,12 @@ mem_fun(R (T::*pm)(Args ...) const, Tp object)
};
}
// prevent argument deduction
template<typename T> struct identity { typedef T type; };
} // namespace utils
static const int TIMEOUT_SHUTDOWN = 200;
template<typename T>
......
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