mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
[Transforms] Remove unnecessary const from a return type (NFC)
This commit is contained in:
parent
d85993d28f
commit
5675f44ceb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user