Skip to content

Commit

Permalink
Fix sip errors
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 15, 2017
1 parent 6ad5a58 commit 9e059ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions python/core/qgsdataitemproviderregistry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Add a provider implementation. Takes ownership of the object.
Remove provider implementation from the list (provider object is deleted)
%End

private:
QgsDataItemProviderRegistry( const QgsDataItemProviderRegistry &rh );
};

/************************************************************************
Expand Down
4 changes: 2 additions & 2 deletions python/core/qgsexpressionfieldbuffer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ class QgsExpressionFieldBuffer
\param flds The fields to be updated
%End

QList<ExpressionField> expressions() const;
QList<QgsExpressionFieldBuffer::ExpressionField> expressions() const;
%Docstring
:rtype: list of ExpressionField
:rtype: list of QgsExpressionFieldBuffer.ExpressionField
%End

};
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsdataitemproviderregistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class CORE_EXPORT QgsDataItemProviderRegistry
void removeProvider( QgsDataItemProvider *provider );

private:
#ifdef SIP_RUN
QgsDataItemProviderRegistry( const QgsDataItemProviderRegistry &rh );
#endif

//! available providers. this class owns the pointers
QList<QgsDataItemProvider *> mProviders;
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsexpressionfieldbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class CORE_EXPORT QgsExpressionFieldBuffer
*/
void updateFields( QgsFields &flds );

QList<ExpressionField> expressions() const { return mExpressions; }
QList<QgsExpressionFieldBuffer::ExpressionField> expressions() const { return mExpressions; }

private:
QList<ExpressionField> mExpressions;
Expand Down

0 comments on commit 9e059ed

Please sign in to comment.