[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/config
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-01-19 23:33:33
Message-ID: 1169249613.399837.31207.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 625314 by thiago:
Add a destructor to KConfigGroup in order to anchor it to kdecore.
With no destructor declared, the compiler is forced to create one implicitly, but it \
becomes weak, along with all of the C++ type info data for KConfigGroup.
In other words: that was bad.
M +4 -0 kconfigbase.cpp
M +2 -0 kconfigbase.h
--- trunk/KDE/kdelibs/kdecore/config/kconfigbase.cpp #625313:625314
@@ -1290,6 +1290,10 @@
setReadDefaults(mMaster->readDefaults());
}
+KConfigGroup::~KConfigGroup()
+{
+}
+
void KConfigGroup::deleteGroup(WriteConfigFlags pFlags)
{
mMaster->deleteGroup(KConfigBase::group(), pFlags);
--- trunk/KDE/kdelibs/kdecore/config/kconfigbase.h #625313:625314
@@ -1675,6 +1675,8 @@
*/
KConfigGroup(KConfigBase *master, const char * group);
+ ~KConfigGroup();
+
/**
* Delete all entries in the entire group
* @param pFlags flags passed to KConfigBase::deleteGroup
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic