rose: more hash member funcs for rose types

This commit is contained in:
Justin Viiret
2017-07-31 16:22:08 +10:00
committed by Matthew Barr
parent 09938d532f
commit 4889a492e4
3 changed files with 11 additions and 2 deletions

View File

@@ -1468,7 +1468,7 @@ void splitByReportSuffixBehaviour(const RoseGraph &g,
vector<vector<RoseVertex>> &buckets) {
// Split by report set and suffix info.
auto make_split_key = [&g](RoseVertex v) {
return hash_all(g[v].reports, suffix_id(g[v].suffix));
return hash_all(g[v].reports, g[v].suffix);
};
splitAndFilterBuckets(buckets, make_split_key);
}