mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
Add qualifiers for calls to member functions in dependent bases.
llvm-svn: 91087
This commit is contained in:
parent
1202338fa5
commit
25a1bae472
@ -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…
x
Reference in New Issue
Block a user