mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-27 21:58:30 +01:00
add typename qualifiers
This commit is contained in:
parent
5ebb3f02b0
commit
63a1d869c2
1 changed files with 2 additions and 2 deletions
|
@ -68,9 +68,9 @@ private:
|
||||||
|
|
||||||
const string_type& searchStack(const ScopeStack& stack, const string_type& key) const
|
const string_type& searchStack(const ScopeStack& stack, const string_type& key) const
|
||||||
{
|
{
|
||||||
for(ScopeStack::const_reverse_iterator ss = stack.rbegin(), se = stack.rend(); ss != se; ss++)
|
for(typename ScopeStack::const_reverse_iterator ss = stack.rbegin(), se = stack.rend(); ss != se; ss++)
|
||||||
{
|
{
|
||||||
Scope::const_iterator i = ss->find(key);
|
typename Scope::const_iterator i = ss->find(key);
|
||||||
if(i != ss->end())
|
if(i != ss->end())
|
||||||
return i->second;
|
return i->second;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue