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/CallTip.h | |
parent | cda547b4fc80be948f4c1a0b3973706d1ba3b8eb (diff) | |
download | scintilla-mirror-2b655a29a4e4d7e343884b85742aed8a033b6eef.tar.gz |
Changing code to ensure no warnings are produced by compilers.
Diffstat (limited to 'src/CallTip.h')
-rw-r--r-- | src/CallTip.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CallTip.h b/src/CallTip.h index cd5b093c8..cb5bc2903 100644 --- a/src/CallTip.h +++ b/src/CallTip.h @@ -6,13 +6,14 @@ #ifndef CALLTIP_H #define CALLTIP_H -const char callClassName[] = "CallTip"; - class CallTip { int startHighlight; int endHighlight; char *val; Font font; + // Private so CallTip objects can not be copied + CallTip(const CallTip &) {} + CallTip &operator=(const CallTip &) { return *this; } public: Window wCallTip; Window wDraw; |