Commit 32397474 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

lspclient: remove some obsolete code

parent d0b34e00
......@@ -1209,15 +1209,6 @@ public:
}
}
template<typename ReplyType> static GenericReplyHandler make_handler(const ReplyHandler<ReplyType> &h, const QObject *context, typename utils::identity<std::function<ReplyType(const GenericReplyType &)>>::type c)
{
QPointer<const QObject> ctx(context);
return [ctx, h, c](const GenericReplyType &m) {
if (ctx)
h(c(m));
};
}
GenericReplyHandler prepareResponse(int msgid)
{
// allow limited number of outstanding requests
......
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