Add explicit this-> for some member function in templated base class.

These call are probably dependent but VS with /Za don't seems to think so. We need to help him.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Cedric Venet
2008-12-13 10:55:13 +00:00
parent 8295e49e76
commit c1edbfc2ba
2 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -566,17 +566,17 @@ public:
: SmallVectorImpl<T>(NumTsAvailable) {
this->reserve(Size);
while (Size--)
push_back(Value);
this->push_back(Value);
}
template<typename ItTy>
SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(NumTsAvailable) {
append(S, E);
this->append(S, E);
}
SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(NumTsAvailable) {
if (!RHS.empty())
operator=(RHS);
SmallVectorImpl<T>::operator=(RHS);
}
const SmallVector &operator=(const SmallVector &RHS) {