summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-10-04 20:21:59 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-10-04 20:21:59 (GMT)
commitbfc6837b24018cedba5bbb015ab3efb781a2c106 (patch)
tree5cd035e2a207879d8c3df538495c0648c9106c01
parent5dc9ba8bf7bca2a5f699949a751394cb53d29b80 (diff)
Inline manually (hotspot)
-rw-r--r--src/lib/marble/geodata/data/GeoDataLineString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/marble/geodata/data/GeoDataLineString.cpp b/src/lib/marble/geodata/data/GeoDataLineString.cpp
index c70808a..03c863c 100644
--- a/src/lib/marble/geodata/data/GeoDataLineString.cpp
+++ b/src/lib/marble/geodata/data/GeoDataLineString.cpp
@@ -310,7 +310,7 @@ GeoDataCoordinates& GeoDataLineString::operator[]( int pos )
const GeoDataCoordinates& GeoDataLineString::operator[]( int pos ) const
{
- return p()->m_vector[ pos ];
+ return static_cast<GeoDataLineStringPrivate*>(d)->m_vector[ pos ];
}
GeoDataCoordinates& GeoDataLineString::last()