From bf5550b6790b5873f75db010db158cdae84deecc Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 6 Aug 2022 22:48:41 +0000 Subject: [PATCH] [ADT] Fix signature of StringSet::insert to match StringMap and unordered_set. --- llvm/include/llvm/ADT/StringSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/ADT/StringSet.h b/llvm/include/llvm/ADT/StringSet.h index 4a49946..ed8a7e6 100644 --- a/llvm/include/llvm/ADT/StringSet.h +++ b/llvm/include/llvm/ADT/StringSet.h @@ -36,7 +36,7 @@ public: } template - void insert(const InputIt &begin, const InputIt &end) { + void insert(InputIt begin, InputIt end) { for (auto it = begin; it != end; ++it) insert(*it); } -- 2.7.4