mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix missing std qualifier for ASAN
This commit is contained in:
parent
e43968599e
commit
ae36323edb
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user