Skip to content

Commit

Permalink
remove redundant std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Sep 10, 2024
1 parent 419eb6d commit afb1a12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace GDR_material {
auto elem = m->getElement(i);
l.append( py::cast( elem ) );
}
return std::move(l);
return l;
}
py::object py_get_isotope_list( const Element*elem )
{
Expand All @@ -23,7 +23,7 @@ namespace GDR_material {
for ( unsigned i = 0; i < n; ++i ) {
l.append( py::cast( elem->getIsotope(i) ) );
}
return std::move(l);
return l;
}

//Due to lack of overloading, we add dump methods directly to the objects in python:
Expand Down

0 comments on commit afb1a12

Please sign in to comment.