Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
1324112f
Verified
Commit
1324112f
authored
Jun 19, 2020
by
Justin Carpentier
Browse files
container: remove useless and redundant cast
parent
7ef270c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/container/aligned-vector.hpp
View file @
1324112f
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment