summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatch.cxx
diff options
context:
space:
mode:
authorYichao Yu <yyc1992@gmail.com>2013-06-03 02:14:52 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-03 14:20:08 (GMT)
commit3d5bb381be16f67e4781c395bda2be12a5d00168 (patch)
treec23a226d8198b1a66f1efd52e838e42dc240845b /Source/cmVariableWatch.cxx
parentd114fc373c1499689265c6c12e95b86f2930b227 (diff)
downloadCMake-3d5bb381be16f67e4781c395bda2be12a5d00168.zip
CMake-3d5bb381be16f67e4781c395bda2be12a5d00168.tar.gz
CMake-3d5bb381be16f67e4781c395bda2be12a5d00168.tar.bz2
variable_watch: Add missing string enumeration entry (#14188)
In commit 9a5b4eba (All variable accesses should produce watch callbacks, 2007-05-17) we added a new enumeration value but did not update the list of strings matching them. Add the missing entry. Without this, variable_watch prints REMOVED_ACCESS instead of MODIFIED_ACCESS when set the value of the variable.
Diffstat (limited to 'Source/cmVariableWatch.cxx')
-rw-r--r--Source/cmVariableWatch.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVariableWatch.cxx b/Source/cmVariableWatch.cxx
index f5fdca4..3905e9b 100644
--- a/Source/cmVariableWatch.cxx
+++ b/Source/cmVariableWatch.cxx
@@ -15,6 +15,7 @@ static const char* const cmVariableWatchAccessStrings[] =
{
"READ_ACCESS",
"UNKNOWN_READ_ACCESS",
+ "UNKNOWN_DEFINED_ACCESS",
"ALLOWED_UNKNOWN_READ_ACCESS",
"MODIFIED_ACCESS",
"REMOVED_ACCESS",