summaryrefslogtreecommitdiff
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-05 00:07:04 +0200
committerStephen Kelly <steveire@gmail.com>2015-04-07 23:25:39 +0200
commit14973054a2f3954111789cda5e54c2e2e2175521 (patch)
tree1cd2c4b592a726aba70682b3a495d49c418313b2 /Source/CursesDialog
parent1f2c12ebd196f3d23aa40d85c965654dbc36d0ad (diff)
downloadcmake-14973054a2f3954111789cda5e54c2e2e2175521.tar.gz
Add API for cache loading, deleting and saving to the cmake class.
Migrate existing users of the CacheManager API to use the new API. The CacheManager will be going away soon.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index d60062e5bb..1217bda193 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -639,7 +639,7 @@ int cmCursesMainForm::Configure(int noconfigure)
// always save the current gui values to disk
this->FillCacheManagerFromUI();
- this->CMakeInstance->GetCacheManager()->SaveCache(
+ this->CMakeInstance->SaveCache(
this->CMakeInstance->GetHomeOutputDirectory());
this->LoadCache(0);