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

Dev to Master: windows bitset fix #18

Merged
merged 17 commits into from
Sep 11, 2024
Prev Previous commit
Next Next commit
pre-rel 1.1.1b
  • Loading branch information
David Dight committed Sep 11, 2024
commit b0ead5cd280948281420077b0f09d6f2c39b2d38
5 changes: 3 additions & 2 deletions utests/unittests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,10 @@ TEST_CASE("enum_bitset ops")
ed.set<numbers::one,numbers::three>();
REQUIRE(!ed.has_single_bit());

//#if not defined _MSC_VER
#if not defined _MSC_VER
REQUIRE(std::hash<enum_bitset<numbers>>{}(ed) == 14);
//#endif
#endif
std::cout << std::hash<std::uint_least16_t>()(14) << '\n';
}

//-----------------------------------------------------------------------------------------
Expand Down