diff options
author | Brad King <brad.king@kitware.com> | 2023-03-13 15:32:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-13 15:32:03 (GMT) |
commit | 88bc8dfc14f02ee07654c906a0e6be5d5a33b017 (patch) | |
tree | 18c68fc8328878bdf6c207f1781afb5aa40a40d7 /Source/cmMakefile.h | |
parent | fcad8d0630036cde6e99ae600e101dbbd5646c96 (diff) | |
download | CMake-88bc8dfc14f02ee07654c906a0e6be5d5a33b017.zip CMake-88bc8dfc14f02ee07654c906a0e6be5d5a33b017.tar.gz CMake-88bc8dfc14f02ee07654c906a0e6be5d5a33b017.tar.bz2 |
cmMakefile: Store recursion depth limit as size_t
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 6f04937..6923a77 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -1023,8 +1023,8 @@ public: const char* sourceFilename) const; bool IsProjectFile(const char* filename) const; - int GetRecursionDepth() const; - void SetRecursionDepth(int recursionDepth); + size_t GetRecursionDepth() const; + void SetRecursionDepth(size_t recursionDepth); std::string NewDeferId() const; bool DeferCall(std::string id, std::string fileName, cmListFileFunction lff); @@ -1090,7 +1090,7 @@ protected: private: cmStateSnapshot StateSnapshot; cmListFileBacktrace Backtrace; - int RecursionDepth; + size_t RecursionDepth = 0; struct DeferCommand { |