diff options
| author | nyamatongwe <unknown> | 2011-02-20 08:43:25 +1100 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-02-20 08:43:25 +1100 |
| commit | 558721bfa2b9ce3f00dace6cdf775f295671871a (patch) | |
| tree | 3998f6d0171ea4fab57f6b211808aedd31a3dad2 /include | |
| parent | 8c5599b68c50e04bc5d07e6776e2c77154346eec (diff) | |
| download | scintilla-mirror-558721bfa2b9ce3f00dace6cdf775f295671871a.tar.gz | |
Avoid some cppcheck warnings.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Platform.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/Platform.h b/include/Platform.h index ea9f97298..b70ffc3ce 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -255,8 +255,8 @@ class Palette { int allocatedLen; #endif // Private so Palette objects can not be copied - Palette(const Palette &) {} - Palette &operator=(const Palette &) { return *this; } + Palette(const Palette &); + Palette &operator=(const Palette &); public: #if PLAT_WIN void *hpal; @@ -288,8 +288,8 @@ protected: int ascent; #endif // Private so Font objects can not be copied - Font(const Font &) {} - Font &operator=(const Font &) { fid=0; return *this; } + Font(const Font &); + Font &operator=(const Font &); public: Font(); virtual ~Font(); |
