diff options
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Exchange/JSONExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp index 6eafa5b10f0c..74d4e6c7993f 100644 --- a/polly/lib/Exchange/JSONExporter.cpp +++ b/polly/lib/Exchange/JSONExporter.cpp @@ -326,7 +326,7 @@ static bool importSchedule(Scop &S, const json::Object &JScop, auto ScheduleMap = isl::union_map::empty(S.getIslCtx()); for (ScopStmt &Stmt : S) { - if (NewSchedule.find(&Stmt) != NewSchedule.end()) + if (NewSchedule.contains(&Stmt)) ScheduleMap = ScheduleMap.unite(NewSchedule[&Stmt]); else ScheduleMap = ScheduleMap.unite(Stmt.getSchedule()); |