Skip to content

Commit

Permalink
Correct deduct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Oct 17, 2024
1 parent dd132ef commit fd1abcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ int main(int, char**)
}
#endif

#if !(defined(TEST_MSVC) && _MSC_VER < 1930)
#if !(defined(TEST_MSVC) && _MSC_VER < 1930) && !(defined(TEST_GCC) && __GNUC__ < 11)
#if MOMO_VERSION_MAJOR > 3
UnorderedContainerDeductionGuidesSfinaeAway<std::unordered_map, std::unordered_map<int, long>>();
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,10 @@ int main(int, char**)
ASSERT_SAME_TYPE(decltype(m2), momo::stdish::unordered_multimap<int, int>);
}

#if !(defined(TEST_MSVC) && _MSC_VER < 1930) && !(defined(TEST_GCC) && __GNUC__ < 11)
#if MOMO_VERSION_MAJOR > 3
UnorderedContainerDeductionGuidesSfinaeAway<std::unordered_multimap, std::unordered_multimap<int, long>>();
#endif
#endif

return 0;
Expand Down

0 comments on commit fd1abcd

Please sign in to comment.