summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatch.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-24 12:49:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-03-24 12:49:46 (GMT)
commit6d36fc8341aa7361a5786e78a19d9bab71ee42d2 (patch)
tree0145426406b5fbdb0254dfbd80880f6659f1dc7e /Source/cmVariableWatch.h
parent917d49ed93b7b43ac3508dbd81f0645433880724 (diff)
parentc61040282557ba268e144ffa5e2d1935b5991d8d (diff)
downloadCMake-6d36fc8341aa7361a5786e78a19d9bab71ee42d2.zip
CMake-6d36fc8341aa7361a5786e78a19d9bab71ee42d2.tar.gz
CMake-6d36fc8341aa7361a5786e78a19d9bab71ee42d2.tar.bz2
Merge topic 'fix-variable_watch-reallocation'
c6104028 Avoid occasional use-after-free when a variable watch is executed
Diffstat (limited to 'Source/cmVariableWatch.h')
-rw-r--r--Source/cmVariableWatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVariableWatch.h b/Source/cmVariableWatch.h
index 0ca4a55..2f082af 100644
--- a/Source/cmVariableWatch.h
+++ b/Source/cmVariableWatch.h
@@ -42,7 +42,7 @@ public:
/**
* This method is called when variable is accessed
*/
- void VariableAccessed(const std::string& variable, int access_type,
+ bool VariableAccessed(const std::string& variable, int access_type,
const char* newValue, const cmMakefile* mf) const;
/**