forked from OSchip/llvm-project
Add qualifiers for calls to member functions in dependent bases.
llvm-svn: 91087
This commit is contained in:
parent
0c6a7d8f42
commit
fb8d445090
|
@ -986,7 +986,7 @@ template<class DataType>
|
|||
class list_storage<DataType, bool> : public std::vector<DataType> {
|
||||
public:
|
||||
template<class T>
|
||||
void addValue(const T &V) { push_back(V); }
|
||||
void addValue(const T &V) { std::vector<DataType>::push_back(V); }
|
||||
};
|
||||
|
||||
|
||||
|
@ -1011,7 +1011,7 @@ class list : public Option, public list_storage<DataType, Storage> {
|
|||
typename ParserClass::parser_data_type();
|
||||
if (Parser.parse(*this, ArgName, Arg, Val))
|
||||
return true; // Parse Error!
|
||||
addValue(Val);
|
||||
list_storage<DataType, Storage>::addValue(Val);
|
||||
setPosition(pos);
|
||||
Positions.push_back(pos);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue