summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-01-09 20:56:40 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-01-15 14:27:44 (GMT)
commita9c483071eb8a5b5da38726f42be98a2392f7a7f (patch)
treea1dfc2d3a42e84f89342b5845ea6795c1ccff654 /Source/cmState.h
parente40541339ae8a780bc410f0ef8b22d01e594c1ba (diff)
downloadCMake-a9c483071eb8a5b5da38726f42be98a2392f7a7f.zip
CMake-a9c483071eb8a5b5da38726f42be98a2392f7a7f.tar.gz
CMake-a9c483071eb8a5b5da38726f42be98a2392f7a7f.tar.bz2
cmCacheManager: Truncate values containing newlines
Fixes #16098.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index e03ad89..7282f0a 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -23,6 +23,7 @@ class cmCacheManager;
class cmCommand;
class cmPropertyDefinition;
class cmStateSnapshot;
+class cmMessenger;
class cmState
{
@@ -59,7 +60,7 @@ public:
std::set<std::string>& excludes,
std::set<std::string>& includes);
- bool SaveCache(const std::string& path);
+ bool SaveCache(const std::string& path, cmMessenger* messenger);
bool DeleteCache(const std::string& path);