[Transforms] Remove unnecessary const from a return type (NFC)

This commit is contained in:
Kazu Hirata 2023-08-19 08:29:51 -07:00
parent d85993d28f
commit 5675f44ceb

View File

@ -159,7 +159,7 @@ public:
/// Get the total flow from a given source node.
/// Returns a list of pairs (target node, amount of flow to the target).
const std::vector<std::pair<uint64_t, int64_t>> getFlow(uint64_t Src) const {
std::vector<std::pair<uint64_t, int64_t>> getFlow(uint64_t Src) const {
std::vector<std::pair<uint64_t, int64_t>> Flow;
for (const auto &Edge : Edges[Src]) {
if (Edge.Flow > 0)