diff options
author | Brad King <brad.king@kitware.com> | 2017-12-08 13:07:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-12-08 13:31:00 (GMT) |
commit | de0035fdcccb4c8acc92bf1db0a76b3c1f18003f (patch) | |
tree | 58f87d5434d985246b07a94189af806768ae75de /Source/CTest/cmCTestBuildAndTestHandler.h | |
parent | 687a26b7023748cc98317eae53ee2ac3cc520bda (diff) | |
download | CMake-de0035fdcccb4c8acc92bf1db0a76b3c1f18003f.zip CMake-de0035fdcccb4c8acc92bf1db0a76b3c1f18003f.tar.gz CMake-de0035fdcccb4c8acc92bf1db0a76b3c1f18003f.tar.bz2 |
cmCTestBuildAndTestHandler: Convert timeout to std::chrono::duration
Diffstat (limited to 'Source/CTest/cmCTestBuildAndTestHandler.h')
-rw-r--r-- | Source/CTest/cmCTestBuildAndTestHandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.h b/Source/CTest/cmCTestBuildAndTestHandler.h index f19cb67..f8a9ed7 100644 --- a/Source/CTest/cmCTestBuildAndTestHandler.h +++ b/Source/CTest/cmCTestBuildAndTestHandler.h @@ -7,6 +7,7 @@ #include "cmCTestGenericHandler.h" +#include <chrono> #include <sstream> #include <stddef.h> #include <string> @@ -67,7 +68,7 @@ protected: std::vector<std::string> TestCommandArgs; std::vector<std::string> BuildTargets; bool BuildNoCMake; - double Timeout; + std::chrono::duration<double> Timeout; }; #endif |