diff options
author | nyamatongwe <devnull@localhost> | 2001-02-05 05:30:18 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-02-05 05:30:18 +0000 |
commit | 58a0a3c3400d034ff1f549671edd315bad1da618 (patch) | |
tree | 23b025f1b8e8c817765a38e35c45b715bb4b0ca8 | |
parent | bc28310ef52287aef419d8edf728a1c6f47fe27e (diff) | |
download | scintilla-mirror-58a0a3c3400d034ff1f549671edd315bad1da618.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: |