geometry: GetShape()->Shape() in indexed shape containers

This commit is contained in:
Tomasz Włostowski 2014-05-14 13:53:02 +02:00
parent 5a51d11b78
commit dd5558f653
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
template <class T>
static const SHAPE* shapeFunctor( T aItem )
{
return aItem->GetShape();
return aItem->Shape();
}

View File

@ -30,7 +30,7 @@
template <class T>
const SHAPE* defaultShapeFunctor( const T aItem )
{
return aItem->GetShape();
return aItem->Shape();
}
template <class T, const SHAPE* (ShapeFunctor) (const T) = defaultShapeFunctor<T> >