aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-08-06 22:48:41 +0000
committerFangrui Song <i@maskray.me>2022-08-06 22:48:41 +0000
commitbf5550b6790b5873f75db010db158cdae84deecc (patch)
tree114ba62789d4bb10a7c169e86bcd49cbc0a83fab
parente21202dac18ed7f718d26a0e131f96b399b4891c (diff)
[ADT] Fix signature of StringSet::insertlinaro-local/ci/tcwg_kernel/llvm-master-arm-lts-allyesconfig
to match StringMap and unordered_set.
-rw-r--r--llvm/include/llvm/ADT/StringSet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/StringSet.h b/llvm/include/llvm/ADT/StringSet.h
index 4a499463d983..ed8a7e6073d7 100644
--- a/llvm/include/llvm/ADT/StringSet.h
+++ b/llvm/include/llvm/ADT/StringSet.h
@@ -36,7 +36,7 @@ public:
}
template <typename InputIt>
- void insert(const InputIt &begin, const InputIt &end) {
+ void insert(InputIt begin, InputIt end) {
for (auto it = begin; it != end; ++it)
insert(*it);
}