Commit fdf09748 authored by charlie's avatar charlie
Browse files

Use const member function

parent f7a1de58
......@@ -60,7 +60,7 @@ struct check_shapes
check_dynamic();
}
void check_dynamic()
void check_dynamic() const
{
if(not dynamic_allowed and this->any_of([&](const shape& s) { return s.dynamic(); }))
{
......
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