"test/gemm/gemm_xdl_int8.cpp" did not exist on "5b178874a1b2a1cae217e87e1988ab92a40d71b8"
Commit fdf09748 authored by charlie's avatar charlie
Browse files

Use const member function

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