Commit a3e13e31 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts Committed by Christoph Cullmann
Browse files

lspclient: use parent alias type in child class

parent 90fc99c2
......@@ -554,10 +554,11 @@ class LSPClientActionView : public QObject
// inner class that forwards directly to method for convenience
class ForwardingTextHintProvider : public KTextEditor::TextHintProvider
{
LSPClientActionView *m_parent;
typedef LSPClientActionView parent_type;
parent_type *m_parent;
public:
ForwardingTextHintProvider(LSPClientActionView *parent)
ForwardingTextHintProvider(parent_type *parent)
: m_parent(parent)
{
Q_ASSERT(m_parent);
......
Supports Markdown
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