From 58a0a3c3400d034ff1f549671edd315bad1da618 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 5 Feb 2001 05:30:18 +0000 Subject: Added explicit initialisation of base class in copy constructor for ScintillaGTK to avoid warning from gcc. --- gtk/ScintillaGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3