Skip to content

Commit

Permalink
Dox, warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 26, 2019
1 parent cb89763 commit c938d57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/qgscoordinatereferencesystem.h
Expand Up @@ -657,8 +657,8 @@ class CORE_EXPORT QgsCoordinateReferenceSystem
*
* This object is only valid for the lifetime of the QgsCoordinateReferenceSystem.
*
* \since QGIS 3.8
* \note Not available in Python bindings.
* \since QGIS 3.8
*/
PJ *projObject() const;
#endif
Expand Down
5 changes: 4 additions & 1 deletion src/core/qgsdatumtransform.cpp
Expand Up @@ -28,7 +28,10 @@
QList<QgsDatumTransform::TransformDetails> QgsDatumTransform::operations( const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination )
{
QList< QgsDatumTransform::TransformDetails > res;
#if PROJ_VERSION_MAJOR>=6
#if PROJ_VERSION_MAJOR<6
Q_UNUSED( source )
Q_UNUSED( destination )
#else
if ( !source.projObject() || !destination.projObject() )
return res;

Expand Down

0 comments on commit c938d57

Please sign in to comment.