Skip to content

Qt6 Covert art guessing: Pass future to the caller#4449

Merged
Be-ing merged 1 commit intomixxxdj:mainfrom
uklotzde:qt6-coverartutils
Oct 17, 2021
Merged

Qt6 Covert art guessing: Pass future to the caller#4449
Be-ing merged 1 commit intomixxxdj:mainfrom
uklotzde:qt6-coverartutils

Conversation

@uklotzde
Copy link
Copy Markdown
Contributor

I decided to adopt the [[nodiscard]] attribute and pass it to the caller where the result is finally discarded explicitly.

Uncontrolled starting of background tasks should be avoided for new code. This is a code smell and only works because Mixxx uses shared, mutable data for Track objects.

@uklotzde uklotzde requested a review from Be-ing October 17, 2021 09:29
@Be-ing Be-ing merged commit 7e149d1 into mixxxdj:main Oct 17, 2021
@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Oct 17, 2021

thanks

@uklotzde uklotzde deleted the qt6-coverartutils branch October 17, 2021 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants