Navigation Menu

Skip to content

Commit

Permalink
Fix sip
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 3, 2021
1 parent ca00377 commit cebb1f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -111,7 +111,7 @@ end of iterating: free the resources / lock
QgsAttributeList attributes; //!< Attributes to fetch
int indexOffset; //!< At what position the joined fields start

QgsVectorLayer *joinLayer /Deprecated/;
QgsVectorLayer *joinLayer /Deprecated/;


QgsFields joinLayerFields;
Expand Down
6 changes: 5 additions & 1 deletion src/core/vector/qgsvectorlayerfeatureiterator.h
Expand Up @@ -157,7 +157,11 @@ class CORE_EXPORT QgsVectorLayerFeatureIterator : public QgsAbstractFeatureItera
* Resolved pointer to the joined layer
* \deprecated Do NOT use. This is not thread safe, and should never be accessed from a background thread.
*/
Q_DECL_DEPRECATED QgsVectorLayer *joinLayer SIP_DEPRECATED = nullptr;
#ifndef SIP_RUN
Q_DECL_DEPRECATED QgsVectorLayer *joinLayer = nullptr;
#else
QgsVectorLayer *joinLayer SIP_DEPRECATED;
#endif

/**
* Feature source for join
Expand Down

0 comments on commit cebb1f8

Please sign in to comment.