From 9785733416ef26d325802b81692f6fdc3506be55 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 7 Apr 2000 12:04:36 +0000 Subject: Changing code to ensure no warnings are produced by compilers. --- src/ScintillaBase.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ScintillaBase.h') diff --git a/src/ScintillaBase.h b/src/ScintillaBase.h index ec1b0665b..ec64ab5dd 100644 --- a/src/ScintillaBase.h +++ b/src/ScintillaBase.h @@ -7,6 +7,9 @@ #define SCINTILLABASE_H class ScintillaBase : public Editor { + // Private so ScintillaBase objects can not be copied + ScintillaBase(const ScintillaBase &) : Editor() {} + ScintillaBase &operator=(const ScintillaBase &) { return *this; } protected: // Enumeration of commands and child windows enum { -- cgit v1.2.3