diff options
author | Shane Parris <shane.lee.parris@gmail.com> | 2018-08-09 16:51:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-09 17:03:50 (GMT) |
commit | 6f3b9e8b9506b4631b70cf506152defa8f9e54e0 (patch) | |
tree | a9ee0c547f24164c2958a4b34dab13082a8e6658 /Source/cmGlobVerificationManager.cxx | |
parent | c4ab098097f4fe1bc85ee29c6de390dff435f63f (diff) | |
download | CMake-6f3b9e8b9506b4631b70cf506152defa8f9e54e0.zip CMake-6f3b9e8b9506b4631b70cf506152defa8f9e54e0.tar.gz CMake-6f3b9e8b9506b4631b70cf506152defa8f9e54e0.tar.bz2 |
cmState: Clear GlobVerificationManager state on Reset
It should not persist across multiple configure rounds.
Fixes: #18208
Diffstat (limited to 'Source/cmGlobVerificationManager.cxx')
-rw-r--r-- | Source/cmGlobVerificationManager.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobVerificationManager.cxx b/Source/cmGlobVerificationManager.cxx index e23b6ea..189b517 100644 --- a/Source/cmGlobVerificationManager.cxx +++ b/Source/cmGlobVerificationManager.cxx @@ -170,3 +170,10 @@ void cmGlobVerificationManager::AddCacheEntry( value.Backtraces.emplace_back(variable, backtrace); } } + +void cmGlobVerificationManager::Reset() +{ + this->Cache.clear(); + this->VerifyScript.clear(); + this->VerifyStamp.clear(); +} |