From da920fa4f985ce5d7b56652587d3451ca483e3d6 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Fri, 11 Dec 2009 01:04:42 +0000 Subject: [PATCH] Add qualifiers for calls to member functions in dependent bases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91087 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CommandLine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 2e65fdd79a1..7f8b10c375f 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -986,7 +986,7 @@ template class list_storage : public std::vector { public: template - void addValue(const T &V) { push_back(V); } + void addValue(const T &V) { std::vector::push_back(V); } }; @@ -1011,7 +1011,7 @@ class list : public Option, public list_storage { typename ParserClass::parser_data_type(); if (Parser.parse(*this, ArgName, Arg, Val)) return true; // Parse Error! - addValue(Val); + list_storage::addValue(Val); setPosition(pos); Positions.push_back(pos); return false; -- 2.34.1