Skip to content

Commit

Permalink
[dataflow] Fix complie on gcc7 part 2
Browse files Browse the repository at this point in the history
Change c2bb680 triggered a bug in gcc7 by disabling a copy
constructor. Commit 2f7d30d fixed one occurrence of this issue, but
after that the compilation still failed with another very similar error.

This commit eliminates this second compilation error, and ensures that
`ninja check-clang-analysis` can be successfully executed with gcc 7.5.
  • Loading branch information
NagyDonat committed Jun 30, 2023
1 parent 363d99d commit cec30e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ runDataflowAnalysis(
std::move(State.Env)};
});
});
return BlockStates;
return std::move(BlockStates);
}

/// Abstract base class for dataflow "models": reusable analysis components that
Expand Down

0 comments on commit cec30e2

Please sign in to comment.