mirror of
https://github.com/textmate/textmate.git
synced 2026-01-21 04:38:13 -05:00
Make variable const
Just to stress that map is immutable.
This commit is contained in:
@@ -47,7 +47,7 @@ namespace oak
|
||||
|
||||
std::map<std::string, std::string> const& basic_environment ()
|
||||
{
|
||||
static std::map<std::string, std::string> environment = setup_basic_environment();
|
||||
static std::map<std::string, std::string> const environment = setup_basic_environment();
|
||||
return environment;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user