diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-05 22:09:49 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-05 22:09:49 +0200 |
commit | 1a9de8035c35cdb3e0501ce2cf2f816e4220bea0 (patch) | |
tree | 8d2e7686145b5e03ddb5a0e181f9bb1b78dd47c7 /Source/CTest/cmCTestBuildHandler.cxx | |
parent | bfdf1322e7638687c96b323b1df20fd9c08b3044 (diff) | |
download | cmake-1a9de8035c35cdb3e0501ce2cf2f816e4220bea0.tar.gz |
surround macro arguments with parentheses
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index cdf292c999..754bb5f5ed 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -366,11 +366,11 @@ int cmCTestBuildHandler::ProcessHandler() regexes.clear(); \ cmCTestOptionalLog(this->CTest, DEBUG, \ this << "Add " #regexes << std::endl, this->Quiet); \ - for (it = strings.begin(); it != strings.end(); ++it) { \ + for (it = (strings).begin(); it != (strings).end(); ++it) { \ cmCTestOptionalLog(this->CTest, DEBUG, \ "Add " #strings ": " << *it << std::endl, \ this->Quiet); \ - regexes.push_back(it->c_str()); \ + (regexes).push_back(it->c_str()); \ } cmCTestBuildHandlerPopulateRegexVector(this->CustomErrorMatches, this->ErrorMatchRegex); |