Replace min() call with its literal definition
This commit is contained in:
parent
beda5eab39
commit
4c59570bfb
|
@ -564,7 +564,8 @@ double cmCTestRunTest::ResolveTimeout()
|
||||||
"Exiting ctest." << std::endl);
|
"Exiting ctest." << std::endl);
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
return timeout == 0 ? stop_timeout : min(timeout, stop_timeout);
|
return timeout == 0 ? stop_timeout :
|
||||||
|
(timeout < stop_timeout ? timeout : stop_timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue