Commit 68503527 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitry Yu. Naumov
Browse files

[PL/BC/Python/BHEInflow] cppcheck: Access of moved variable 'in_out_global_indices'.

parent 7097f977
......@@ -41,7 +41,8 @@ public:
_bhe(bhe),
_py_bc_object(py_bc_object)
{
const auto g_idx_T_out = static_cast<int>(in_out_global_indices.second);
const auto g_idx_T_out =
static_cast<int>(_in_out_global_indices.second);
// store the bc node ids to BHE network dataframe
std::get<3>(_py_bc_object.dataframe_network).emplace_back(g_idx_T_out);
......
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