diff options
author | Brad King <brad.king@kitware.com> | 2023-05-04 20:51:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-04 21:09:00 (GMT) |
commit | 426e38cc104673e8056caa243950c330a87e20af (patch) | |
tree | b47744feb5eea76471d63988c2522df48bb6935e /Source/CTest/cmProcess.h | |
parent | 59336b29bd713c288423d8330c74b74cfc0eaf58 (diff) | |
download | CMake-426e38cc104673e8056caa243950c330a87e20af.zip CMake-426e38cc104673e8056caa243950c330a87e20af.tar.gz CMake-426e38cc104673e8056caa243950c330a87e20af.tar.bz2 |
cmCTestRunTest: Adopt decision for starting cmProcess timer
Diffstat (limited to 'Source/CTest/cmProcess.h')
-rw-r--r-- | Source/CTest/cmProcess.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmProcess.h b/Source/CTest/cmProcess.h index be030e4..1578687 100644 --- a/Source/CTest/cmProcess.h +++ b/Source/CTest/cmProcess.h @@ -12,6 +12,8 @@ #include <utility> #include <vector> +#include <cm/optional> + #include <cm3p/uv.h> #include "cmDuration.h" @@ -76,7 +78,7 @@ public: } private: - cmDuration Timeout; + cm::optional<cmDuration> Timeout; std::chrono::steady_clock::time_point StartTime; cmDuration TotalTime; bool ReadHandleClosed = false; |