ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Environment.cpp
(Generate patch)

Comparing Smersh/Environment.cpp (file contents):
Revision 173 by Douglas Thrift, 2004-06-21T03:15:47-07:00 vs.
Revision 176 by Douglas Thrift, 2004-06-25T20:32:24-07:00

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines