mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-08 01:36:54 +08:00
Fix compilation error for G++
This commit is contained in:
parent
370121a9ff
commit
4e412c0f6a
@ -84,7 +84,7 @@ namespace chaiscript
|
||||
{
|
||||
throw std::range_error("Range empty");
|
||||
}
|
||||
Container::iterator pos = m_end;
|
||||
typename Container::iterator pos = m_end;
|
||||
--pos;
|
||||
return *(pos);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user