]> granicus.if.org Git - clang/commitdiff
Fix build after r206338
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 15 Apr 2014 23:58:06 +0000 (23:58 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 15 Apr 2014 23:58:06 +0000 (23:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206341 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/ThreadSafetyUtil.h

index 996e81d1b514a15caaa09c1e54e07ecebf5f08c2..5705d47515221f620db0eed3ce1234fd956c8a92 100644 (file)
@@ -102,7 +102,7 @@ public:
   size_t capacity() const { return Capacity; }
 
   T &operator[](unsigned i) {
-    assert(i < Sz && "Array index out of bounds.");
+    assert(i < Size && "Array index out of bounds.");
     return Data[i];
   }
   const T &operator[](unsigned i) const {