Fixing broken bots after r238505.
authorChris Bieneman <beanz@apple.com>
Thu, 28 May 2015 22:18:34 +0000 (22:18 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 28 May 2015 22:18:34 +0000 (22:18 +0000)
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

include/llvm/Support/CommandLine.h

index c6d430115427e38ff9dd6f8284a3e82ddb2935e4..1ad8a3bfd93772fce6de8e585d6bb27a9f99d457 100644 (file)
@@ -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(); }