Merge pull request #2082 from FernandoS27/txq-stl
Fix TXQ not using the component mask.
This commit is contained in:
commit
bb4549a73d
2 changed files with 13 additions and 6 deletions
|
@ -981,6 +981,10 @@ union Instruction {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IsComponentEnabled(std::size_t component) const {
|
||||
return ((1ULL << component) & component_mask) != 0;
|
||||
}
|
||||
} txq;
|
||||
|
||||
union {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue