# | Line 6 | Line 6 | |
---|---|---|
6 | ||
7 | #include "Environment.hpp" | |
8 | ||
9 | < | string Environment::get(const string& name) |
9 | > | string Environment::get(const string& name) const |
10 | { | |
11 | < | map<string, string>::iterator itor(env.find(name)); |
11 | > | map<string, string>::const_iterator itor(env.find(name)); |
12 | ||
13 | if (itor != env.end()) return itor->second; | |
14 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |