diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-02-23 15:47:54 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2013-02-24 18:27:23 +0100 |
commit | 3a811a30fa141aff0766f757772fd9e990c6b2f3 (patch) | |
tree | 94c15f17ec03472a461fddefdb09787c7cbbd09a /src | |
parent | 89828520943c1e84fa42adf0bf3c33eba5bf13e8 (diff) | |
download | qtlocation-3a811a30fa141aff0766f757772fd9e990c6b2f3.tar.gz |
QtLocation header check: compile in pedantic mode
qgeopositioninfosourcefactory.h:62:68: error: extra ‘;’ [-pedantic]
Change-Id: Ib024d4898ae52a181133d975d09e1381f231eb7b
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/location/maps/qgeoserviceproviderfactory.h | 2 | ||||
-rw-r--r-- | src/location/places/qplaceresult.h | 4 | ||||
-rw-r--r-- | src/location/qgeopositioninfosourcefactory.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/location/maps/qgeoserviceproviderfactory.h b/src/location/maps/qgeoserviceproviderfactory.h index 924e5f28..ff6ab471 100644 --- a/src/location/maps/qgeoserviceproviderfactory.h +++ b/src/location/maps/qgeoserviceproviderfactory.h @@ -70,7 +70,7 @@ public: }; Q_DECLARE_INTERFACE(QGeoServiceProviderFactory, - "org.qt-project.qt.geoservice.serviceproviderfactory/5.0"); + "org.qt-project.qt.geoservice.serviceproviderfactory/5.0") QT_END_NAMESPACE diff --git a/src/location/places/qplaceresult.h b/src/location/places/qplaceresult.h index 703c2ed7..6cf016ec 100644 --- a/src/location/places/qplaceresult.h +++ b/src/location/places/qplaceresult.h @@ -57,7 +57,7 @@ public: #ifdef Q_QDOC QPlaceResult::QPlaceResult(const QPlaceSearchResult &other); #else - Q_DECLARE_SEARCHRESULT_COPY_CTOR(QPlaceResult); + Q_DECLARE_SEARCHRESULT_COPY_CTOR(QPlaceResult) #endif virtual ~QPlaceResult(); @@ -72,7 +72,7 @@ public: void setSponsored(bool sponsored); private: - Q_DECLARE_SEARCHRESULT_D_FUNC(QPlaceResult); + Q_DECLARE_SEARCHRESULT_D_FUNC(QPlaceResult) }; Q_DECLARE_TYPEINFO(QPlaceResult, Q_MOVABLE_TYPE); diff --git a/src/location/qgeopositioninfosourcefactory.h b/src/location/qgeopositioninfosourcefactory.h index f5e31c4b..26283a97 100644 --- a/src/location/qgeopositioninfosourcefactory.h +++ b/src/location/qgeopositioninfosourcefactory.h @@ -59,7 +59,7 @@ public: #define QT_POSITION_SOURCE_INTERFACE Q_DECLARE_INTERFACE(QGeoPositionInfoSourceFactory, - "org.qt-project.qt.position.sourcefactory/5.0"); + "org.qt-project.qt.position.sourcefactory/5.0") QT_END_NAMESPACE |