diff --git a/tools/triage/codeeditor.h b/tools/triage/codeeditor.h index 41d555016..a6b740a3c 100644 --- a/tools/triage/codeeditor.h +++ b/tools/triage/codeeditor.h @@ -46,6 +46,9 @@ class CodeEditor : public QPlainTextEdit { public: explicit CodeEditor(QWidget *parent); + CodeEditor(const CodeEditor &) = delete; + ~CodeEditor() {} + CodeEditor &operator=(const CodeEditor &) = delete; void lineNumberAreaPaintEvent(QPaintEvent *event); int lineNumberAreaWidth();