diff options
| author | Ben Boeckel <mathstuf@gmail.com> | 2013-08-02 19:49:28 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2013-08-08 17:31:09 (GMT) |
| commit | 00ce12a3347d1fef25badff00c5abc3dc715f207 (patch) | |
| tree | 9033b85c5ab80cb9c272a02bdf8bb1c8476512b3 /Tests/Tutorial/Step2/MathFunctions/MathFunctions.h | |
| parent | 34b397e8dec04c55b415ee0e5f9172f624156d36 (diff) | |
| download | CMake-00ce12a3347d1fef25badff00c5abc3dc715f207.zip CMake-00ce12a3347d1fef25badff00c5abc3dc715f207.tar.gz CMake-00ce12a3347d1fef25badff00c5abc3dc715f207.tar.bz2 | |
variable_watch: Prevent making extra entries in the watch map
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.
Diffstat (limited to 'Tests/Tutorial/Step2/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions
