diff options
author | nyamatongwe <unknown> | 2000-04-07 12:04:36 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-04-07 12:04:36 +0000 |
commit | 2b655a29a4e4d7e343884b85742aed8a033b6eef (patch) | |
tree | 337dc33f1d022c7a460caf1e607bac12fe6e7b61 /src/ScintillaBase.h | |
parent | cda547b4fc80be948f4c1a0b3973706d1ba3b8eb (diff) | |
download | scintilla-mirror-2b655a29a4e4d7e343884b85742aed8a033b6eef.tar.gz |
Changing code to ensure no warnings are produced by compilers.
Diffstat (limited to 'src/ScintillaBase.h')
-rw-r--r-- | src/ScintillaBase.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |