[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/marble/src/lib/geodata/data
From: Nikolas Zimmermann <wildfox () kde ! org>
Date: 2008-03-11 15:24:47
Message-ID: 1205249087.378290.23801.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 784517 by wildfox:
Remove a similar approach to leak tracking from GeoDataObject, which has been generalized in GeoNode.
M +0 -17 GeoDataObject.cpp
--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataObject.cpp #784516:784517
@@ -14,31 +14,14 @@
#include <QtGlobal>
#include <QtCore/QDataStream>
-#ifdef GeoData_DEBUG
-namespace
-{
- // This variable used to count number of allocated
- // kml objects. Debug only
- int refCount = 0;
-}
-#endif
-
GeoDataObject::GeoDataObject()
: m_id(0),
m_targetId(0)
{
- #ifdef GeoData_DEBUG
- ++refCount;
- qDebug("GeoDataObject count: %d", refCount);
- #endif
}
GeoDataObject::~GeoDataObject()
{
- #ifdef GeoData_DEBUG
- --refCount;
- qDebug("GeoDataObject count: %d", refCount);
- #endif
}
int GeoDataObject::id() const
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic