summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/CppSyntaxHighlighter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/CppSyntaxHighlighter.h')
-rw-r--r--Libraries/LibGUI/CppSyntaxHighlighter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/CppSyntaxHighlighter.h b/Libraries/LibGUI/CppSyntaxHighlighter.h
index 44d048ea8f..0f77c88cd7 100644
--- a/Libraries/LibGUI/CppSyntaxHighlighter.h
+++ b/Libraries/LibGUI/CppSyntaxHighlighter.h
@@ -7,8 +7,9 @@ namespace GUI {
class CppSyntaxHighlighter final : public SyntaxHighlighter {
public:
CppSyntaxHighlighter() {}
-
virtual ~CppSyntaxHighlighter() override;
+
+ virtual SyntaxLanguage language() const override { return SyntaxLanguage::Cpp; }
virtual void rehighlight() override;
virtual void highlight_matching_token_pair() override;
};