Verified Commit 1324112f authored by Justin Carpentier's avatar Justin Carpentier
Browse files

container: remove useless and redundant cast

parent 7ef270c7
......@@ -45,9 +45,6 @@ namespace pinocchio
aligned_vector & operator=(const aligned_vector& x)
{ vector_base::operator=(x); return *this; }
operator vector_base_ref() { return base(); }
operator const_vector_base_ref() const { return base(); }
vector_base & base() { return *static_cast<vector_base*>(this); }
const vector_base & base() const { return *static_cast<const vector_base*>(this); }
......
Supports Markdown
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