Skip to content

Commit a260146

Browse files
committedApr 19, 2017
[sipify] fix remove protected members
1 parent 51aa44d commit a260146

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎scripts/sipify.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ sub processDoxygenLine
299299
}
300300

301301
# skip non-method member declaration in non-public sections
302-
if ( $SIP_RUN != 1 && $ACCESS != PUBLIC && $line =~ m/^\s*(?:mutable\s)?[\w<>]+(::\w+)? \*?\w+( = \w+(\([^()]+\))?)?;/){
302+
if ( $SIP_RUN != 1 && $ACCESS != PUBLIC && $line =~ m/^\s*(?:mutable\s)?\w+[\w<> *&:,]* \*?\w+( = \w+(\([^()]+\))?)?;/){
303303
next;
304304
}
305305

‎tests/scripts/sipifyheader.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ class CORE_EXPORT QgsSipifyHeader : public QtClass<QVariant>, private Ui::QgsBas
242242
Whatever::Something *alsoSkipMember = nullptr;
243243
mutable Whatever alsoSkipThis;
244244
Some<Other> memberToSkip;
245+
QList<QgsMapLayer *> list2skip;
246+
QMap<QString, Qt::CheckState> map2skip;
245247

246248
private:
247249
void privateMethodAreNotShown();

0 commit comments

Comments
 (0)
Please sign in to comment.