diff options
author | Brad King <brad.king@kitware.com> | 2016-03-24 12:49:46 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-03-24 12:49:46 (GMT) |
commit | 6d36fc8341aa7361a5786e78a19d9bab71ee42d2 (patch) | |
tree | 0145426406b5fbdb0254dfbd80880f6659f1dc7e /Source/cmVariableWatch.h | |
parent | 917d49ed93b7b43ac3508dbd81f0645433880724 (diff) | |
parent | c61040282557ba268e144ffa5e2d1935b5991d8d (diff) | |
download | CMake-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.h | 2 |
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; /** |