No real changes, just make PYTHON::check_kwargs() const.
This will allow calling it from const methods too.
This commit is contained in:
parent
8c76270619
commit
1f41850e34
1 changed files with 1 additions and 1 deletions
|
|
@ -2125,7 +2125,7 @@ public:
|
||||||
* check if using kwargs is allowed for this Node
|
* check if using kwargs is allowed for this Node
|
||||||
* ------------------------------------------------------------ */
|
* ------------------------------------------------------------ */
|
||||||
|
|
||||||
int check_kwargs(Node *n) {
|
int check_kwargs(Node *n) const {
|
||||||
return (use_kw || GetFlag(n, "feature:kwargs"))
|
return (use_kw || GetFlag(n, "feature:kwargs"))
|
||||||
&& !GetFlag(n, "memberset") && !GetFlag(n, "memberget");
|
&& !GetFlag(n, "memberset") && !GetFlag(n, "memberget");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue