summaryrefslogtreecommitdiff
path: root/src/buildtool/main/main.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-03-23 11:31:04 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-03-23 19:30:21 +0100
commit45cba2778426601bdffbcfe6aa7310aee76a6e54 (patch)
treee67b6b73bc7d4d9940fee3d1d324e4513c5dcbbe /src/buildtool/main/main.cpp
parent4f6f3fcfaf4f2d99cf9c8f73fe93fd7bfa54c92a (diff)
downloadjustbuild-45cba2778426601bdffbcfe6aa7310aee76a6e54.tar.gz
Apply changes suggested by clang-format 11
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r--src/buildtool/main/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp
index 805cec05..56b31074 100644
--- a/src/buildtool/main/main.cpp
+++ b/src/buildtool/main/main.cpp
@@ -347,8 +347,9 @@ template <HasToString K, typename V>
oss << fmt::format("Cycle detected in {}:", name) << std::endl;
for (auto const& k : *cycle) {
auto match = (k == cycle->back());
- auto prefix{match ? found ? "`-- "s : ".-> "s
- : found ? "| "s : " "s};
+ auto prefix{match ? found ? "`-- "s : ".-> "s
+ : found ? "| "s
+ : " "s};
oss << prefix << k.ToString() << std::endl;
found = found or match;
}