[gnomemm] Art::Point::gobj() infinite recursion



libgnomecanvasmm/point.cc line 105 calls itself. It should return &m_ArtPoint. This makes the program hang if you multiply an AffineTrans by a Point.

ArtPoint* Point::gobj()
{
  return &m_ArtPoint;
}

const ArtPoint* Point::gobj() const
{
  return gobj();
}

--
Michael Babcock
Jim Henson's Creature Shop





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]