Skip to content

Commit

Permalink
Add missing factory annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 5, 2018
1 parent 1ea5a5f commit acb4464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/layout/qgsabstractreportsection.sip
Expand Up @@ -247,7 +247,7 @@ subclasses.
Constructor for QgsReport.
%End

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


virtual int count();
Expand Down
2 changes: 1 addition & 1 deletion src/core/layout/qgsabstractreportsection.h
Expand Up @@ -234,7 +234,7 @@ class CORE_EXPORT QgsReport : public QgsAbstractReportSection
//! Constructor for QgsReport.
QgsReport() = default;

QgsReport *clone() const override;
QgsReport *clone() const override SIP_FACTORY;

// TODO - how to handle this?
int count() override { return -1; }
Expand Down

0 comments on commit acb4464

Please sign in to comment.