commit | 07cf2e0966804f670fd5e62797e1e010a42880cf | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Tue Nov 06 23:06:16 2007 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Tue Nov 06 23:06:16 2007 +0000 |
tree | 9168e21d7369a3ecf8c5345e049d8b8d27f55726 | |
parent | 0199d9f3b03474e462abceb757ce9374172a038d [diff] [blame] |
Fix an inverted conditional, --chris git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43789 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Rewrite/Rewriter.cpp b/Rewrite/Rewriter.cpp index a624fcc..a8bc99f 100644 --- a/Rewrite/Rewriter.cpp +++ b/Rewrite/Rewriter.cpp
@@ -78,7 +78,7 @@ Deltas[DeltaIdx].Delta += Change; // If it is now dead, remove it. - if (Deltas[DeltaIdx].Delta) + if (Deltas[DeltaIdx].Delta == 0) Deltas.erase(Deltas.begin()+DeltaIdx); }