mirror of https://github.com/CGAL/cgal
use forward instead of move
This commit is contained in:
parent
64a602ba7c
commit
2e07200e5f
|
|
@ -316,7 +316,7 @@ const D& choose_parameter(const internal_np::Param_not_found&, const D& d)
|
|||
template <typename D>
|
||||
D choose_parameter(const internal_np::Param_not_found&, D&& d)
|
||||
{
|
||||
return std::move(d);
|
||||
return std::forward<D>(d);
|
||||
}
|
||||
|
||||
template <typename T, typename D>
|
||||
|
|
|
|||
Loading…
Reference in New Issue