Don't shadow names

This commit is contained in:
Matthew Barr
2016-07-25 15:33:40 +10:00
parent 68ae4cc7c8
commit cbd115f7fe
12 changed files with 70 additions and 71 deletions

View File

@@ -416,8 +416,8 @@ bool isDirectHighlander(const RoseBuildImpl &build, const u32 id,
return false;
}
auto is_simple_exhaustible = [&build](ReportID id) {
const Report &report = build.rm.getReport(id);
auto is_simple_exhaustible = [&build](ReportID rid) {
const Report &report = build.rm.getReport(rid);
return isSimpleExhaustible(report);
};