aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-02-05 05:30:18 +0000
committernyamatongwe <devnull@localhost>2001-02-05 05:30:18 +0000
commit58a0a3c3400d034ff1f549671edd315bad1da618 (patch)
tree23b025f1b8e8c817765a38e35c45b715bb4b0ca8
parentbc28310ef52287aef419d8edf728a1c6f47fe27e (diff)
downloadscintilla-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.cxx2
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: