Fix compilation error for G++

This commit is contained in:
Jason Turner 2009-07-23 13:03:57 +00:00
parent 370121a9ff
commit 4e412c0f6a

View File

@ -84,7 +84,7 @@ namespace chaiscript
{ {
throw std::range_error("Range empty"); throw std::range_error("Range empty");
} }
Container::iterator pos = m_end; typename Container::iterator pos = m_end;
--pos; --pos;
return *(pos); return *(pos);
} }