diff options
| author | nyamatongwe <unknown> | 2001-02-05 05:30:18 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2001-02-05 05:30:18 +0000 |
| commit | fbbe7838d1b60233e5ed6acb29272c5812260ff4 (patch) | |
| tree | 23b025f1b8e8c817765a38e35c45b715bb4b0ca8 | |
| parent | 34f0652dfc2dc6a9d983f3c93718aa278db67695 (diff) | |
| download | scintilla-mirror-fbbe7838d1b60233e5ed6acb29272c5812260ff4.tar.gz | |
Added explicit initialisation of base class in copy constructor for
ScintillaGTK to avoid warning from gcc.
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index bbe385f90..42146be98 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -65,7 +65,7 @@ class ScintillaGTK : public ScintillaBase { GdkICAttr *ic_attr; // Private so ScintillaGTK objects can not be copied - ScintillaGTK(const ScintillaGTK &) {} + ScintillaGTK(const ScintillaGTK &) : ScintillaBase() {} ScintillaGTK &operator=(const ScintillaGTK &) { return *this; } public: |
