@@ -6,17 +6,17 @@ namespace Sass {
6
6
7
7
template <typename T>
8
8
Environment<T>::Environment(bool is_shadow)
9
- : local_frame_(std::map <std::string, T>()),
9
+ : local_frame_(environment_map <std::string, T>()),
10
10
parent_ (0 ), is_shadow_(false )
11
11
{ }
12
12
template <typename T>
13
13
Environment<T>::Environment(Environment<T>* env, bool is_shadow)
14
- : local_frame_(std::map <std::string, T>()),
14
+ : local_frame_(environment_map <std::string, T>()),
15
15
parent_ (env), is_shadow_(is_shadow)
16
16
{ }
17
17
template <typename T>
18
18
Environment<T>::Environment(Environment<T>& env, bool is_shadow)
19
- : local_frame_(std::map <std::string, T>()),
19
+ : local_frame_(environment_map <std::string, T>()),
20
20
parent_ (&env), is_shadow_(is_shadow)
21
21
{ }
22
22
@@ -45,7 +45,7 @@ namespace Sass {
45
45
}
46
46
47
47
template <typename T>
48
- std::map <std::string, T>& Environment<T>::local_frame() {
48
+ environment_map <std::string, T>& Environment<T>::local_frame() {
49
49
return local_frame_;
50
50
}
51
51
@@ -177,7 +177,7 @@ namespace Sass {
177
177
size_t indent = 0 ;
178
178
if (parent_) indent = parent_->print (prefix) + 1 ;
179
179
std::cerr << prefix << std::string (indent, ' ' ) << " == " << this << std::endl;
180
- for (typename std::map <std::string, T>::iterator i = local_frame_.begin (); i != local_frame_.end (); ++i) {
180
+ for (typename environment_map <std::string, T>::iterator i = local_frame_.begin (); i != local_frame_.end (); ++i) {
181
181
if (!ends_with (i->first , " [f]" ) && !ends_with (i->first , " [f]4" ) && !ends_with (i->first , " [f]2" )) {
182
182
std::cerr << prefix << std::string (indent, ' ' ) << i->first << " " << i->second ;
183
183
if (Value_Ptr val = Cast<Value>(i->second ))
0 commit comments