Commit 6870a7f1 authored by Paul's avatar Paul
Browse files

Fix cppcheck warnings

parent b4a75da2
......@@ -144,6 +144,7 @@ struct stream_info
result = true;
return false;
}
// cppcheck-suppress uselessAssignmentArg
stream = s;
return true;
});
......@@ -184,7 +185,7 @@ struct stream_info
};
}
std::unordered_set<std::size_t> get_streams(instruction_ref ins)
std::unordered_set<std::size_t> get_streams(instruction_ref ins) const
{
if(has_stream(ins))
return {get_stream(ins)};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment