https://github.com/Kitware/CMake
Revision 00ce12a3347d1fef25badff00c5abc3dc715f207 authored by Ben Boeckel on 02 August 2013, 19:49:28 UTC, committed by Brad King on 08 August 2013, 17:31:09 UTC
When removing a watch on a variable, using the operator [] on the internal map will create an empty watch if the variable doesn't have any existing watches. Rather than creating this empty structure in the map, return if there isn't a watch on the variable already.
1 parent 34b397e
Tip revision: 00ce12a3347d1fef25badff00c5abc3dc715f207 authored by Ben Boeckel on 02 August 2013, 19:49:28 UTC
variable_watch: Prevent making extra entries in the watch map
variable_watch: Prevent making extra entries in the watch map
Tip revision: 00ce12a
File | Mode | Size |
---|---|---|
Docs | ||
Example | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 569 bytes |
.hooks-config.bash | -rw-r--r-- | 866 bytes |
CMakeCPack.cmake | -rw-r--r-- | 5.3 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 3.4 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 24.8 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CTestConfig.cmake | -rw-r--r-- | 1.0 KB |
CTestCustom.cmake.in | -rw-r--r-- | 3.3 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
ChangeLog.manual | -rw-r--r-- | 219.7 KB |
ChangeLog.txt | -rw-r--r-- | 2.5 MB |
CompileFlags.cmake | -rw-r--r-- | 2.5 KB |
Copyright.txt | -rw-r--r-- | 2.6 KB |
DartConfig.cmake | -rw-r--r-- | 809 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
Readme.txt | -rw-r--r-- | 1.9 KB |
bootstrap | -rwxr-xr-x | 52.8 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 796 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...