Skip to content

Commit a2f380b

Browse files
committedOct 25, 2017
Add missing override
1 parent bb8bad0 commit a2f380b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed
 

‎python/core/geometry/qgstriangle.sip

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ class QgsTriangle : QgsPolygonV2
6868
virtual bool fromWkt( const QString &wkt );
6969

7070

71-
QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
72-
%Docstring
73-
:rtype: QDomElement
74-
%End
71+
virtual QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
72+
7573

7674
virtual QgsPolygonV2 *surfaceToPolygon() const /Factory/;
7775

‎src/core/geometry/qgstriangle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class CORE_EXPORT QgsTriangle : public QgsPolygonV2
7575

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

8181
QgsPolygonV2 *surfaceToPolygon() const override SIP_FACTORY;

0 commit comments

Comments
 (0)
Please sign in to comment.