Skip to content

Conversation

@cgzones
Copy link
Contributor

@cgzones cgzones commented May 13, 2021

Following the guideline of interfaces not allowed to declare anything and not use prefix parameters, declare interfaces doing so as templates.

Also declare templates not using those features and not calling templates themselves as interfaces.

These changes originate from the discussion in SELinuxProject/selint#205 and are found by new proposed SELint checks at SELinuxProject/selint#206.

Signed-off-by: Christian Göttsche [email protected]

Following the guideline of interfaces not allowed to declare anything
and not use prefix parameters, declare interfaces doing so as templates.

Also declare templates not using those features and not calling
templates themselves as interfaces.

These changes originate from the discussion in
SELinuxProject/selint#205 and are found by
new proposed SELint checks at
SELinuxProject/selint#206.

Signed-off-by: Christian Göttsche <[email protected]>
@pebenito
Copy link
Member

You have RFC, so I'm waiting on merging, if you have any other changes.

@cgzones cgzones changed the title RFC: Use correct interface or template declaration Use correct interface or template declaration May 22, 2021
@pebenito pebenito merged commit ad7217f into SELinuxProject:master Jun 3, 2021
@cgzones cgzones deleted the infer branch June 3, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants