diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp index ce916614170..8cbe8d08913 100644 --- a/src/plugins/cppeditor/cpphoverhandler.cpp +++ b/src/plugins/cppeditor/cpphoverhandler.cpp @@ -42,9 +42,6 @@ using namespace TextEditor; namespace CppEditor { namespace Internal { -CppHoverHandler::CppHoverHandler() -{} - void CppHoverHandler::identifyMatch(TextEditorWidget *editorWidget, int pos) { if (!editorWidget->extraSelectionTooltip(pos).isEmpty()) { diff --git a/src/plugins/cppeditor/cpphoverhandler.h b/src/plugins/cppeditor/cpphoverhandler.h index a23d11e1e79..eeda39a93d1 100644 --- a/src/plugins/cppeditor/cpphoverhandler.h +++ b/src/plugins/cppeditor/cpphoverhandler.h @@ -33,12 +33,9 @@ namespace Internal { class CppHoverHandler : public TextEditor::BaseHoverHandler { -public: - CppHoverHandler(); - private: - virtual void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos); - virtual void decorateToolTip(); + void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override; + void decorateToolTip() override; }; } // namespace Internal