Skip to content
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

feat: ConnectionHandle::release to ignore warning #92

Merged

Conversation

LeonMatthesKDAB
Copy link
Contributor

As described in #43, you now get a warning if you don't use the
ConnectionHandle that is returned by connecting to a signal.
But as @lemirep noted, this can be annoying without a proper way to
silence the warning.
This commit adds a release function that can simply be used to ignore
the nodiscard warning intentionally.

Fix #43

As described in KDAB#43, you now get a warning if you don't use the
ConnectionHandle that is returned by connecting to a signal.
But as @lemirep noted, this can be annoying without a proper way to
silence the warning.
This commit adds a `release` function that can simply be used to ignore
the nodiscard warning intentionally.

Fix KDAB#43
@LeonMatthesKDAB LeonMatthesKDAB merged commit 076eeed into KDAB:main Aug 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants