diff options
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 1644d84..2ab810c 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -12,6 +12,7 @@ #include <string> #include <vector> +#include <cm/optional> #include <cm/string_view> #include "cmDuration.h" @@ -116,8 +117,8 @@ public: cmDuration GetGlobalTimeout() const; /** how many test to run at the same time */ - int GetParallelLevel() const; - void SetParallelLevel(int); + cm::optional<size_t> GetParallelLevel() const; + void SetParallelLevel(cm::optional<size_t> level); unsigned long GetTestLoad() const; void SetTestLoad(unsigned long); |