Skip to content

Commit

Permalink
Add missing override
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 25, 2017
1 parent bb8bad0 commit a2f380b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions python/core/geometry/qgstriangle.sip
Expand Up @@ -68,10 +68,8 @@ class QgsTriangle : QgsPolygonV2
virtual bool fromWkt( const QString &wkt );


QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
%Docstring
:rtype: QDomElement
%End
virtual QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;


virtual QgsPolygonV2 *surfaceToPolygon() const /Factory/;

Expand Down
2 changes: 1 addition & 1 deletion src/core/geometry/qgstriangle.h
Expand Up @@ -75,7 +75,7 @@ class CORE_EXPORT QgsTriangle : public QgsPolygonV2

// inherited: QString asWkt( int precision = 17 ) const;
// inherited (as a polygon): QDomElement asGML2( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const override;
// inherited: QString asJSON( int precision = 17 ) const;

QgsPolygonV2 *surfaceToPolygon() const override SIP_FACTORY;
Expand Down

0 comments on commit a2f380b

Please sign in to comment.