Merge pull request #14533 from ethereum/fix-std-namespace-asan

Fix missing std qualifier for ASAN
This commit is contained in:
Daniel
2023-09-05 11:04:13 +02:00
committed by GitHub
+1 -1
View File
@@ -493,7 +493,7 @@ BOOST_AUTO_TEST_CASE(constant_optimization_early_exit)
#endif
#endif
#if __SANITIZE_ADDRESS__
maxDuration = numeric_limits<size_t>::max();
maxDuration = std::numeric_limits<size_t>::max();
BOOST_TEST_MESSAGE("Disabled constant optimizer run time check for address sanitizer build.");
#endif
BOOST_CHECK_MESSAGE(duration <= double(maxDuration), "Compilation of constants took longer than 20 seconds.");