From 2b655a29a4e4d7e343884b85742aed8a033b6eef 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/CallTip.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/CallTip.h') 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; -- cgit v1.2.3