aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-04-07 12:04:36 +0000
committernyamatongwe <devnull@localhost>2000-04-07 12:04:36 +0000
commit9785733416ef26d325802b81692f6fdc3506be55 (patch)
tree337dc33f1d022c7a460caf1e607bac12fe6e7b61 /src/CallTip.h
parent8cb3d80031a74c832b8a006562a9ef010f2cbe5e (diff)
downloadscintilla-mirror-9785733416ef26d325802b81692f6fdc3506be55.tar.gz
Changing code to ensure no warnings are produced by compilers.
Diffstat (limited to 'src/CallTip.h')
-rw-r--r--src/CallTip.h5
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;