Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
missing annotation and fix warning
  • Loading branch information
3nids committed May 30, 2017
1 parent 8d073ce commit 736e303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/layertree/qgslayertree.sip
Expand Up @@ -143,7 +143,7 @@ class QgsLayerTree : QgsLayerTreeGroup

virtual void writeXml( QDomElement &parentElement );

virtual QgsLayerTree *clone() const;
virtual QgsLayerTree *clone() const /Factory/;

void clear();
%Docstring
Expand Down
2 changes: 1 addition & 1 deletion src/core/layertree/qgslayertree.h
Expand Up @@ -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.
Expand Down

0 comments on commit 736e303

Please sign in to comment.