Skip to content
Snippets Groups Projects
Commit 6909fe0b authored by Jan Trávníček's avatar Jan Trávníček
Browse files

add missing move

parent 2a916b97
No related branches found
No related tags found
1 merge request!95Many clang-tidy fixes
Pipeline #40830 passed with warnings
......@@ -22,7 +22,7 @@ class MemberAbstraction : public NaryOperationAbstraction < ReturnType, ObjectTy
std::function < ReturnType ( typename std::remove_reference < ObjectType >::type *, ParamTypes ... ) > m_callback;
 
public:
MemberAbstraction ( std::function < ReturnType ( typename std::remove_reference < ObjectType >::type *, ParamTypes ... ) > callback ) : m_callback ( callback ) {
MemberAbstraction ( std::function < ReturnType ( typename std::remove_reference < ObjectType >::type *, ParamTypes ... ) > callback ) : m_callback ( std::move ( callback ) ) {
}
 
bool run ( ) override {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment