@@ -2338,21 +2338,21 @@ template <class T, expression_template_option ExpressionTemplates>
2338
2338
inline BOOST_MP_CXX14_CONSTEXPR typename std::enable_if<number_category<T>::value == number_kind_complex, component_type<number<T, ExpressionTemplates>>>::type::type
2339
2339
abs (const number<T, ExpressionTemplates>& v)
2340
2340
{
2341
- return std::move ( boost::math::hypot (real (v), imag (v) ));
2341
+ return boost::math::hypot (real (v), imag (v));
2342
2342
}
2343
2343
template <class tag , class A1 , class A2 , class A3 , class A4 >
2344
2344
inline BOOST_MP_CXX14_CONSTEXPR typename std::enable_if<number_category<typename detail::expression<tag, A1, A2, A3, A4>::result_type>::value == number_kind_complex, component_type<typename detail::expression<tag, A1, A2, A3, A4>::result_type>>::type::type
2345
2345
abs (const detail::expression<tag, A1, A2, A3, A4>& v)
2346
2346
{
2347
2347
using number_type = typename detail::expression<tag, A1, A2, A3, A4>::result_type;
2348
- return std::move ( abs (static_cast <number_type>(v) ));
2348
+ return abs (static_cast <number_type>(v));
2349
2349
}
2350
2350
2351
2351
template <class T , expression_template_option ExpressionTemplates>
2352
2352
inline BOOST_MP_CXX14_CONSTEXPR typename std::enable_if<number_category<T>::value == number_kind_complex, typename scalar_result_from_possible_complex<number<T, ExpressionTemplates> >::type>::type
2353
2353
arg (const number<T, ExpressionTemplates>& v)
2354
2354
{
2355
- return std::move ( atan2 (imag (v), real (v) ));
2355
+ return atan2 (imag (v), real (v));
2356
2356
}
2357
2357
template <class T , expression_template_option ExpressionTemplates>
2358
2358
inline BOOST_MP_CXX14_CONSTEXPR typename std::enable_if<number_category<T>::value == number_kind_floating_point, typename scalar_result_from_possible_complex<number<T, ExpressionTemplates> >::type>::type
@@ -2365,7 +2365,7 @@ inline BOOST_MP_CXX14_CONSTEXPR typename std::enable_if<number_category<typename
2365
2365
arg (const detail::expression<tag, A1, A2, A3, A4>& v)
2366
2366
{
2367
2367
using number_type = typename detail::expression<tag, A1, A2, A3, A4>::result_type;
2368
- return std::move ( arg (static_cast <number_type>(v) ));
2368
+ return arg (static_cast <number_type>(v));
2369
2369
}
2370
2370
#endif // BOOST_MP_MATH_AVAILABLE
2371
2371
@@ -2374,7 +2374,7 @@ inline BOOST_MP_CXX14_CONSTEXPR typename std::enable_if<number_category<T>::valu
2374
2374
norm (const number<T, ExpressionTemplates>& v)
2375
2375
{
2376
2376
typename component_type<number<T, ExpressionTemplates> >::type a (real (v)), b (imag (v));
2377
- return std::move ( a * a + b * b) ;
2377
+ return a * a + b * b;
2378
2378
}
2379
2379
template <class T , expression_template_option ExpressionTemplates>
2380
2380
inline BOOST_MP_CXX14_CONSTEXPR typename std::enable_if<number_category<T>::value != number_kind_complex, typename scalar_result_from_possible_complex<number<T, ExpressionTemplates> >::type>::type
@@ -2387,7 +2387,7 @@ inline BOOST_MP_CXX14_CONSTEXPR typename scalar_result_from_possible_complex<typ
2387
2387
norm (const detail::expression<tag, A1, A2, A3, A4>& v)
2388
2388
{
2389
2389
using number_type = typename detail::expression<tag, A1, A2, A3, A4>::result_type;
2390
- return std::move ( norm (static_cast <number_type>(v) ));
2390
+ return norm (static_cast <number_type>(v));
2391
2391
}
2392
2392
2393
2393
template <class Backend , expression_template_option ExpressionTemplates>
0 commit comments