summaryrefslogtreecommitdiffstats
path: root/Source/cmServer.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-12-13 18:41:05 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-15 16:40:25 (GMT)
commit414aa6c81ec62ab2f728fab31aa189ce674484a4 (patch)
tree0b70c8ae470b1cfebd205af33754bf577c3b277d /Source/cmServer.cxx
parentd4a42dd4a87c9caa222a7a40150db937258698d2 (diff)
downloadCMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.zip
CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.tar.gz
CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.tar.bz2
clang-tidy: Simplify boolean expressions
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r--Source/cmServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx
index fe0bdc9..f7d3879 100644
--- a/Source/cmServer.cxx
+++ b/Source/cmServer.cxx
@@ -417,7 +417,7 @@ static void __start_thread(void* arg)
auto server = static_cast<cmServerBase*>(arg);
std::string error;
bool success = server->Serve(&error);
- if (!success || error.empty() == false) {
+ if (!success || !error.empty()) {
std::cerr << "Error during serve: " << error << std::endl;
}
}