From: Chris Bieneman Date: Thu, 28 May 2015 22:18:34 +0000 (+0000) Subject: Fixing broken bots after r238505. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e53c28ad5b9c5e1eaba68e6a383ba161bc5f50ee;p=oota-llvm.git Fixing broken bots after r238505. Need non-const iterator inserts too. These failures seem to be due to differences in the versions of libstdc++ on various operating systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238516 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index c6d43011542..1ad8a3bfd93 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -1335,6 +1335,13 @@ public: return Storage.insert(pos, value); } + iterator insert(iterator pos, const DataType &value) { + return Storage.insert(pos, value); + } + iterator insert(iterator pos, DataType &&value) { + return Storage.insert(pos, value); + } + reference front() { return Storage.front(); } const_reference front() const { return Storage.front(); }