void
Ice::SlicedData::__addObject(IceInternal::GCCountMap& m)
{
    IceInternal::GCCountMap::iterator pos = m.find(this);
    if(pos == m.end())
    {
        m[this] = 1;
    }
    else
    {
        ++pos->second;
    }
}
void
Ice::UnknownSlicedObject::__addObject(IceInternal::GCCountMap& _c)
{
    IceInternal::GCCountMap::iterator pos = _c.find(this);
    if(pos == _c.end())
    {
        _c[this] = 1;
    }
    else
    {
        ++pos->second;
    }
}
Exemple #3
0
void
level1::level2::vivi::__addObject(::IceInternal::GCCountMap& _c)
{
    ::IceInternal::GCCountMap::iterator pos = _c.find(this);
    if(pos == _c.end())
    {
        _c[this] = 1;
    }
    else
    {
        ++pos->second;
    }
}