geometry: GetShape()->Shape() in indexed shape containers
This commit is contained in:
parent
5a51d11b78
commit
dd5558f653
|
@ -43,7 +43,7 @@
|
|||
template <class T>
|
||||
static const SHAPE* shapeFunctor( T aItem )
|
||||
{
|
||||
return aItem->GetShape();
|
||||
return aItem->Shape();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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> >
|
||||
|
|
Loading…
Reference in New Issue