missing annotation and fix warning

This commit is contained in:
Denis Rouzaud 2017-05-30 14:39:24 +02:00
parent 8d073ce53e
commit 736e303d30
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ class QgsLayerTree : QgsLayerTreeGroup
virtual void writeXml( QDomElement &parentElement );
virtual QgsLayerTree *clone() const;
virtual QgsLayerTree *clone() const /Factory/;
void clear();
%Docstring

View File

@ -183,7 +183,7 @@ class CORE_EXPORT QgsLayerTree : public QgsLayerTreeGroup
virtual void writeXml( QDomElement &parentElement ) override;
virtual QgsLayerTree *clone() const override;
virtual QgsLayerTree *clone() const override SIP_FACTORY;
/**
* Clear any information from this layer tree.