diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 14:17:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 19:04:14 (GMT) |
commit | 2988abd9390c1d6876610436883d1f7bcd405d8f (patch) | |
tree | 51c6f1aa4a9bcd1171ce51ffd42b5edca48ba4df /Source/cmSystemTools.cxx | |
parent | a74e6893480e491959e9165106f199a8cd0edd57 (diff) | |
download | CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.zip CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.gz CMake-2988abd9390c1d6876610436883d1f7bcd405d8f.tar.bz2 |
clang-tidy: apply modernize-use-bool-literals fixes
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 029594f..a635bf4 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1664,7 +1664,7 @@ int cmSystemTools::WaitForLine(cmsysProcess* process, std::string& line, std::vector<char>::iterator erriter = err.begin(); cmProcessOutput processOutput; std::string strdata; - while (1) { + while (true) { // Check for a newline in stdout. for (; outiter != out.end(); ++outiter) { if ((*outiter == '\r') && ((outiter + 1) == out.end())) { |