summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-05-28 01:15:43 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-28 10:46:10 (GMT)
commitd606b19f7d71f59f0d77facb59169ee2a1e0f649 (patch)
tree0c79f9632325680e8529fd16ae455fc53621765f /Source/cmServerProtocol.cxx
parent6b208d873e4aba5aeb120e81b85276dfa7710a8e (diff)
downloadCMake-d606b19f7d71f59f0d77facb59169ee2a1e0f649.zip
CMake-d606b19f7d71f59f0d77facb59169ee2a1e0f649.tar.gz
CMake-d606b19f7d71f59f0d77facb59169ee2a1e0f649.tar.bz2
server-mode: Fix regression in cache entry reporting
Refactoring in commit 0bf0e35e59 (cmCacheManager::GetProperty: return cmProp, 2020-03-19) changed the return type of GetCacheEntryValue. Update the server mode's call site accordingly.
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r--Source/cmServerProtocol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx
index 6b32de3..00ac337 100644
--- a/Source/cmServerProtocol.cxx
+++ b/Source/cmServerProtocol.cxx
@@ -446,7 +446,7 @@ cmServerResponse cmServerProtocol1::ProcessCache(
entry[kKEY_KEY] = key;
entry[kTYPE_KEY] =
cmState::CacheEntryTypeToString(state->GetCacheEntryType(key));
- entry[kVALUE_KEY] = state->GetCacheEntryValue(key);
+ entry[kVALUE_KEY] = *state->GetCacheEntryValue(key);
Json::Value props = Json::objectValue;
bool haveProperties = false;