Skip to content
Permalink
Browse files

Add missing override

  • Loading branch information
nyalldawson committed Oct 25, 2017
1 parent bb8bad0 commit a2f380b2bdf7a9dedab936eb45d67b32fcee42e1
Showing with 3 additions and 5 deletions.
  1. +2 −4 python/core/geometry/qgstriangle.sip
  2. +1 −1 src/core/geometry/qgstriangle.h
@@ -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/;

@@ -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;

0 comments on commit a2f380b

Please sign in to comment.
You can’t perform that action at this time.