aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-01-28 04:50:27 +0000
committernyamatongwe <devnull@localhost>2010-01-28 04:50:27 +0000
commit2500ebc8eda4588b3a0cba45484470ea417afbde (patch)
tree35d98352a6038f75dada3cd0620bd89eb35fb90d /win32/PlatWin.cxx
parente720f2a6813188630c0b3700ac6609f97e0df08b (diff)
downloadscintilla-mirror-2500ebc8eda4588b3a0cba45484470ea417afbde.tar.gz
Avoiding warnings from cppcheck. Mostly removing bodies of private copy
constructors and operator=. Also ensuring initialisation for some fields, reducing scope where possible, and passing by const reference.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 8ff27011c..71a968541 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -372,8 +372,8 @@ class SurfaceImpl : public Surface {
void SetFont(Font &font_);
// Private so SurfaceImpl objects can not be copied
- SurfaceImpl(const SurfaceImpl &) : Surface() {}
- SurfaceImpl &operator=(const SurfaceImpl &) { return *this; }
+ SurfaceImpl(const SurfaceImpl &);
+ SurfaceImpl &operator=(const SurfaceImpl &);
public:
SurfaceImpl();
virtual ~SurfaceImpl();