Skip to content

Commit

Permalink
Avoid including private header
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 18, 2017
1 parent 358c58d commit 198486f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion python/core/qgscoordinatetransformcontext.sip
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@




class QgsCoordinateTransformContext
{
%Docstring
Expand Down Expand Up @@ -51,6 +50,8 @@ applies for destination CRS transforms set using addDestinationDatumTransform().
Constructor for QgsCoordinateTransformContext.
%End

~QgsCoordinateTransformContext();

QgsCoordinateTransformContext( const QgsCoordinateTransformContext &rhs );
%Docstring
Copy constructor
Expand Down
2 changes: 2 additions & 0 deletions src/core/qgscoordinatetransformcontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ QgsCoordinateTransformContext::QgsCoordinateTransformContext()
: d( new QgsCoordinateTransformContextPrivate() )
{}

QgsCoordinateTransformContext::~QgsCoordinateTransformContext() = default;

QgsCoordinateTransformContext::QgsCoordinateTransformContext( const QgsCoordinateTransformContext &rhs ) //NOLINT
: d( rhs.d )
{}
Expand Down
7 changes: 5 additions & 2 deletions src/core/qgscoordinatetransformcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@

#include "qgis_core.h"
#include "qgis.h"
#include "qgscoordinatetransformcontext_p.h"
#include "qgsdatumtransform.h"

class QgsCoordinateReferenceSystem;
class QgsReadWriteContext;

class QgsCoordinateTransformContextPrivate;
class QDomElement;

/***************************************************************************
* This class is considered CRITICAL and any change MUST be accompanied with
Expand Down Expand Up @@ -64,6 +65,8 @@ class CORE_EXPORT QgsCoordinateTransformContext
*/
QgsCoordinateTransformContext();

~QgsCoordinateTransformContext();

/**
* Copy constructor
*/
Expand Down

0 comments on commit 198486f

Please sign in to comment.