We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2768b4 commit 7f544f7Copy full SHA for 7f544f7
lldb/include/lldb/Utility/Environment.h
@@ -73,7 +73,7 @@ class Environment : private llvm::StringMap<std::string> {
73
return insert(std::make_pair(Split.first, std::string(Split.second)));
74
}
75
76
- void insert(const_iterator first, const_iterator last);
+ void insert(iterator first, iterator last);
77
78
Envp getEnvp() const { return Envp(*this); }
79
lldb/source/Utility/Environment.cpp
@@ -41,7 +41,7 @@ Environment::Environment(const char *const *Env) {
41
insert(*Env++);
42
43
44
-void Environment::insert(const_iterator first, const_iterator last) {
+void Environment::insert(iterator first, iterator last) {
45
while (first != last) {
46
try_emplace(first->first(), first->second);
47
++first;
0 commit comments