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

Fix bug if TL_EXPECTED_EXCEPTIONS_ENABLED were disabled #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NathanWongKodiak
Copy link

@NathanWongKodiak NathanWongKodiak commented Jul 12, 2023

Found a bug where when using expected &operator=() while providing an expected value and not allowing exceptions to be used TL_EXPECTED_EXCEPTIONS_ENABLED = false then a variable tmp is set but unused which causes the error error: variable 'tmp' set but not used during C++ compilation.

Found a bug where when using `expected &operator=()` while providing an expected value and not allowing exceptions to be used `TL_EXPECTED_EXCEPTIONS_ENABLED = false` then a variable `tmp` is set but unused which causes errors in C++ compilation.
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.

1 participant