summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/dag/dag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_engine/dag/dag.cpp')
-rw-r--r--src/buildtool/execution_engine/dag/dag.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_engine/dag/dag.cpp b/src/buildtool/execution_engine/dag/dag.cpp
index 17f4b3af..cb82ec55 100644
--- a/src/buildtool/execution_engine/dag/dag.cpp
+++ b/src/buildtool/execution_engine/dag/dag.cpp
@@ -148,7 +148,7 @@ auto DependencyGraph::AddAction(ActionDescription const& description) -> bool {
auto DependencyGraph::AddAction(Action const& a) noexcept
-> DependencyGraph::ActionNodeIdentifier {
- auto id = a.Id();
+ auto const& id = a.Id();
auto const action_it = action_ids_.find(id);
if (action_it != action_ids_.end()) {
return action_it->second;