diff options
Diffstat (limited to 'src/buildtool/execution_engine/traverser/traverser.hpp')
-rw-r--r-- | src/buildtool/execution_engine/traverser/traverser.hpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/buildtool/execution_engine/traverser/traverser.hpp b/src/buildtool/execution_engine/traverser/traverser.hpp index e99c2565..8cfb991f 100644 --- a/src/buildtool/execution_engine/traverser/traverser.hpp +++ b/src/buildtool/execution_engine/traverser/traverser.hpp @@ -31,10 +31,8 @@ template <class T> concept Runnable = requires(T const r, DependencyGraph::ActionNode const* action, DependencyGraph::ArtifactNode const* artifact) { - { r.Process(action) } - ->same_as<bool>; - { r.Process(artifact) } - ->same_as<bool>; + { r.Process(action) } -> same_as<bool>; + { r.Process(artifact) } -> same_as<bool>; }; /// \brief Class to traverse the dependency graph executing necessary actions @@ -67,9 +65,8 @@ class Traverser { // Traverse starting by the artifacts with the given identifiers, avoiding // executing actions that are not strictly needed to build the given // artifacts - [[nodiscard]] auto Traverse( - std::unordered_set<ArtifactIdentifier> const& target_ids) noexcept - -> bool; + [[nodiscard]] auto Traverse(std::unordered_set<ArtifactIdentifier> const& + target_ids) noexcept -> bool; private: Executor const& runner_{}; |