From: Duncan P. N. Exon Smith Date: Tue, 15 Apr 2014 23:58:06 +0000 (+0000) Subject: Fix build after r206338 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1877e66c76e3db5d25570d3449bb74fcfaa17fea;p=clang Fix build after r206338 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206341 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/ThreadSafetyUtil.h b/include/clang/Analysis/Analyses/ThreadSafetyUtil.h index 996e81d1b5..5705d47515 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyUtil.h +++ b/include/clang/Analysis/Analyses/ThreadSafetyUtil.h @@ -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 {