Skip to content
Snippets Groups Projects
Commit 255555f7 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix trailing warning (thanks to clang-10)

parent c3d100ac
No related branches found
No related tags found
1 merge request!37Feature/language
...@@ -32,7 +32,8 @@ class ArraySubscriptProcessor : public INodeProcessor ...@@ -32,7 +32,8 @@ class ArraySubscriptProcessor : public INodeProcessor
auto& array_expression = *m_array_subscript_expression.children[0]; auto& array_expression = *m_array_subscript_expression.children[0];
const ArrayTypeT& array = std::get<ArrayTypeT>(array_expression.execute(exec_policy)); auto&& array_value = array_expression.execute(exec_policy);
ArrayTypeT& array = std::get<ArrayTypeT>(array_value);
return array[index_value]; return array[index_value];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment