Skip to content
Snippets Groups Projects
Commit 9016e28a authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Remove unused class `PointerWrapper`

parent 729aa535
No related branches found
No related tags found
No related merge requests found
......@@ -314,30 +314,6 @@ class Face
int index_;
};
/** \brief Wrapper of T* that adds construction from T&
*/
template<class T>
class PointerWrapper
{
public:
PointerWrapper(const T& t) :
p_(const_cast<T*>(&t))
{}
operator T* () { return p_; }
operator const T* () const { return p_; }
T* operator -> () { return p_; }
const T* operator -> () const { return p_; }
protected:
T* p_;
};
/** \brief A hierarchical iterator for faces
*
* Starting from a start face the iterator performes a depth-first
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment