aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-07 12:04:36 +0000
committernyamatongwe <unknown>2000-04-07 12:04:36 +0000
commit2b655a29a4e4d7e343884b85742aed8a033b6eef (patch)
tree337dc33f1d022c7a460caf1e607bac12fe6e7b61 /include/Platform.h
parentcda547b4fc80be948f4c1a0b3973706d1ba3b8eb (diff)
downloadscintilla-mirror-2b655a29a4e4d7e343884b85742aed8a033b6eef.tar.gz
Changing code to ensure no warnings are produced by compilers.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index 1ac931ce2..b60469488 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -308,6 +308,7 @@ protected:
WindowID id;
public:
Window() : id(0) {}
+ Window(const Window &source) : id(source.id) {}
virtual ~Window();
Window &operator=(WindowID id_) {
id = id_;