mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #14533 from ethereum/fix-std-namespace-asan
Fix missing std qualifier for ASAN
This commit is contained in:
commit
16ae76cad7
@ -493,7 +493,7 @@ BOOST_AUTO_TEST_CASE(constant_optimization_early_exit)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if __SANITIZE_ADDRESS__
|
#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.");
|
BOOST_TEST_MESSAGE("Disabled constant optimizer run time check for address sanitizer build.");
|
||||||
#endif
|
#endif
|
||||||
BOOST_CHECK_MESSAGE(duration <= double(maxDuration), "Compilation of constants took longer than 20 seconds.");
|
BOOST_CHECK_MESSAGE(duration <= double(maxDuration), "Compilation of constants took longer than 20 seconds.");
|
||||||
|
Loading…
Reference in New Issue
Block a user