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

remove not needed code

parent 426870aa
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -90,14 +90,9 @@ struct rvalue_ref { ...@@ -90,14 +90,9 @@ struct rvalue_ref {
} }
}; };
   
template < class T >
inline rvalue_ref < T > manage_move ( T * param ) {
return rvalue_ref < T > { param };
}
template < class T, typename std::enable_if < ext::has_clone < T >::value >::type * = nullptr > template < class T, typename std::enable_if < ext::has_clone < T >::value >::type * = nullptr >
inline rvalue_ref < T > move_copy ( const T & param ) { inline rvalue_ref < T > move_copy ( const T & param ) {
return manage_move ( param.clone ( ) ); return rvalue_ref < T > { param.clone ( ) };
} }
   
// TODO remove after switching to c++17 (as_const) // TODO remove after switching to c++17 (as_const)
......
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