summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-09-30 09:21:50 (GMT)
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-10-01 09:50:34 (GMT)
commit8bb2d7884e57fed42a03ee639a4ff811c493810b (patch)
tree2b06ef5b39bcc28f420c3a8d377610e797cb9eab
parent132dd389b2861433f63b98462c72507b8a0e727e (diff)
remove unneeded static attribute
-rw-r--r--src/lib/marble/osm/OsmPlacemarkData.cpp3
-rw-r--r--src/lib/marble/osm/OsmPlacemarkData.h5
2 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/marble/osm/OsmPlacemarkData.cpp b/src/lib/marble/osm/OsmPlacemarkData.cpp
index 452f73b..01996ac 100644
--- a/src/lib/marble/osm/OsmPlacemarkData.cpp
+++ b/src/lib/marble/osm/OsmPlacemarkData.cpp
@@ -21,7 +21,6 @@ namespace Marble
{
const QString OsmPlacemarkData::osmDataKey = "osm_data";
-const char OsmPlacemarkData::osmPlacemarkDataType[] = "OsmPlacemarkDataType";
OsmPlacemarkData::OsmPlacemarkData():
m_id( 0 )
@@ -312,7 +311,7 @@ OsmPlacemarkData OsmPlacemarkData::fromParserAttributes( const QXmlStreamAttribu
const char *OsmPlacemarkData::nodeType() const
{
- return osmPlacemarkDataType;
+ return "OsmPlacemarkDataType";
}
}
diff --git a/src/lib/marble/osm/OsmPlacemarkData.h b/src/lib/marble/osm/OsmPlacemarkData.h
index 1789e35..8671516 100644
--- a/src/lib/marble/osm/OsmPlacemarkData.h
+++ b/src/lib/marble/osm/OsmPlacemarkData.h
@@ -202,11 +202,6 @@ public:
*/
static OsmPlacemarkData fromParserAttributes( const QXmlStreamAttributes &attributes );
- /**
- * @brief osmPlacemarkDataType used for identifying OsmPlacemarkData objects as GeoNodes
- */
- static const char osmPlacemarkDataType[];
-
private:
qint64 m_id;
QString m_version;