Skip to content
Snippets Groups Projects
Commit 85faa8bf authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Reduce code duplication

The functions restrictBitField and restrictBitFieldToFathers do almost
the same, except restrictBitFieldToFathers having an additional
condition.

This patch merges both implementations by adding a new boolean parameter
to restrictBitField to enable/disable the additional condition from
restrictBitFieldToFathers.
parent c2b3cac3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment