Commit dd5558f6 authored by Tomasz Włostowski's avatar Tomasz Włostowski

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

parent 5a51d11b
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
template <class T> template <class T>
static const SHAPE* shapeFunctor( T aItem ) static const SHAPE* shapeFunctor( T aItem )
{ {
return aItem->GetShape(); return aItem->Shape();
} }
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
template <class T> template <class T>
const SHAPE* defaultShapeFunctor( const T aItem ) const SHAPE* defaultShapeFunctor( const T aItem )
{ {
return aItem->GetShape(); return aItem->Shape();
} }
template <class T, const SHAPE* (ShapeFunctor) (const T) = defaultShapeFunctor<T> > template <class T, const SHAPE* (ShapeFunctor) (const T) = defaultShapeFunctor<T> >
......
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