summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-04-24 20:24:17 (GMT)
committerBrad King <brad.king@kitware.com>2012-04-24 20:56:14 (GMT)
commitb10c5cbb878af541f4ffa35a9e287c31743c6e97 (patch)
treed812f0b9f60fb650f5f7cbee21bbfe73490f222e /bootstrap
parent93e6069553874e11af8915da68996fb4323d4a52 (diff)
downloadCMake-b10c5cbb878af541f4ffa35a9e287c31743c6e97.zip
CMake-b10c5cbb878af541f4ffa35a9e287c31743c6e97.tar.gz
CMake-b10c5cbb878af541f4ffa35a9e287c31743c6e97.tar.bz2
CTest: Simplify environment save/restore
Replace use of AppendEnv/RestoreEnv pairs with instances of SaveRestoreEnvironment. Simplify the signature of AppendEnv and use it in place of similar loops elsewhere. Move the RestoreEnv implementation inside the SaveRestoreEnvironment destructor which is the only place left that calls it.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions