Commit 35e35268 authored by Roberto Raggi's avatar Roberto Raggi

Access the method insert() using its fully qualified name.

parent 45fb49cc
......@@ -202,9 +202,10 @@ template <> struct Compare<SelectorNameId>
template <typename _Tp>
class Table: public std::set<_Tp, Compare<_Tp> >
{
typedef std::set<_Tp, Compare<_Tp> > _Base;
public:
_Tp *intern(const _Tp &element)
{ return const_cast<_Tp *>(&*insert(element).first); }
{ return const_cast<_Tp *>(&*_Base::insert(element).first); }
};
} // end of anonymous namespace
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment