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 MSVC (correct) runtime assertion on uninitialized var #195

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

OfekShilon
Copy link
Contributor

The exact assertion text is "Vector iterators incompatible", but MSVC is right to assert here, in the (common) case where taken_switch_id isn't initialized.

Copy link
Contributor

@dbabokin dbabokin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dbabokin dbabokin merged commit 1adf2e0 into intel:main Jan 9, 2024
4 checks passed
@LowLevelMahn
Copy link

LowLevelMahn commented Jan 25, 2024

FYI: for gcc/clang the libstdc++ will also most likly assert when the program is compiled with -D_GLIBCXX_DEBUG

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.

3 participants