Skip to content
Snippets Groups Projects
Commit b956bd44 authored by Charles Villard's avatar Charles Villard
Browse files

Change old data check to new bitwise filter

parent fe9d4d09
No related branches found
No related tags found
No related merge requests found
...@@ -249,7 +249,7 @@ public: ...@@ -249,7 +249,7 @@ public:
inline IOIndex_t getFirstFreeDataInput() const { inline IOIndex_t getFirstFreeDataInput() const {
IOIndex_t i = 0; IOIndex_t i = 0;
for (; i < nbInputs(); ++i) { for (; i < nbInputs(); ++i) {
if ((inputCategory(i) == InputCategory::Data || inputCategory(i) == InputCategory::OptionalData) if (to_underlying(inputCategory(i) & InputCategory::Data)
&& input(i).second == gk_IODefaultIndex) && input(i).second == gk_IODefaultIndex)
{ {
return i; return i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment