-
Notifications
You must be signed in to change notification settings - Fork 644
Coverity check 04.2025 #5912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverity check 04.2025 #5912
Conversation
Signed-off-by: Szymon Karpiński <[email protected]>
Signed-off-by: Szymon Karpiński <[email protected]>
Signed-off-by: Szymon Karpiński <[email protected]>
@@ -161,7 +161,7 @@ class binning_resource : public binning_resource_base<Kind, nstatic_bins, Interf | |||
binning_resource(const SplitPointCollection &split_points, | |||
const ResourceCollection &resources, | |||
Extra &&extra) | |||
: base(split_points, resources), extra_args_(std::forward<ExtraArgs>(extra)) { | |||
: base(split_points, resources), extra_args_(std::forward<Extra>(extra)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weren't there more of those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other instances of use-after-move warnings turned out to be in the tests where we specifically test moving objects
!build |
CI MESSAGE: [28137489]: BUILD STARTED |
CI MESSAGE: [28137489]: BUILD PASSED |
* Add missing CUDA error check * Replace ExtraArgs with Extra in std::forward * Fix std::forward in disjoint_set Signed-off-by: Szymon Karpiński <[email protected]> Signed-off-by: Marek Dabek <[email protected]>
Category:
Bug fix (non-breaking change which fixes an issue)
Description:
This MR fixes the issues found in the recent coverity check
Additional information:
Affected modules and functionalities:
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A
DALI-4242