[Lldb-commits] [lldb] 7f544f7 - Try to unbreak lldb build after 973519826edb76
Nico Weber via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 2 08:32:39 PDT 2021
Author: Nico Weber
Date: 2021-09-02T11:32:28-04:00
New Revision: 7f544f7658357045bde67c2f897a088558310f16
URL: https://github.com/llvm/llvm-project/commit/7f544f7658357045bde67c2f897a088558310f16
DIFF: https://github.com/llvm/llvm-project/commit/7f544f7658357045bde67c2f897a088558310f16.diff
LOG: Try to unbreak lldb build after 973519826edb76
Added:
Modified:
lldb/include/lldb/Utility/Environment.h
lldb/source/Utility/Environment.cpp
Removed:
################################################################################
diff --git a/lldb/include/lldb/Utility/Environment.h b/lldb/include/lldb/Utility/Environment.h
index e2af2eb2463d7..24cbee246f83f 100644
--- a/lldb/include/lldb/Utility/Environment.h
+++ b/lldb/include/lldb/Utility/Environment.h
@@ -73,7 +73,7 @@ class Environment : private llvm::StringMap<std::string> {
return insert(std::make_pair(Split.first, std::string(Split.second)));
}
- void insert(const_iterator first, const_iterator last);
+ void insert(iterator first, iterator last);
Envp getEnvp() const { return Envp(*this); }
diff --git a/lldb/source/Utility/Environment.cpp b/lldb/source/Utility/Environment.cpp
index 5666c2c12ffdf..419e0745671a2 100644
--- a/lldb/source/Utility/Environment.cpp
+++ b/lldb/source/Utility/Environment.cpp
@@ -41,7 +41,7 @@ Environment::Environment(const char *const *Env) {
insert(*Env++);
}
-void Environment::insert(const_iterator first, const_iterator last) {
+void Environment::insert(iterator first, iterator last) {
while (first != last) {
try_emplace(first->first(), first->second);
++first;
More information about the lldb-commits
mailing list