Skip to content

Commit ae36323

Browse files
committed
Fix missing std qualifier for ASAN
1 parent e439685 commit ae36323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/libsolidity/SolidityOptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ BOOST_AUTO_TEST_CASE(constant_optimization_early_exit)
493493
#endif
494494
#endif
495495
#if __SANITIZE_ADDRESS__
496-
maxDuration = numeric_limits<size_t>::max();
496+
maxDuration = std::numeric_limits<size_t>::max();
497497
BOOST_TEST_MESSAGE("Disabled constant optimizer run time check for address sanitizer build.");
498498
#endif
499499
BOOST_CHECK_MESSAGE(duration <= double(maxDuration), "Compilation of constants took longer than 20 seconds.");

0 commit comments

Comments
 (0)