mirror of https://github.com/CGAL/cgal
Remove '&' from the return type, as it would be a reference to a local variable
This commit is contained in:
parent
92ebc695a2
commit
9a17fce6b1
|
|
@ -60,7 +60,7 @@ class Filtered_number
|
|||
if (!double_) return CGAL_POLYNOMIAL_TO_DOUBLE(nt_);
|
||||
return d_;
|
||||
}
|
||||
const std::pair<double, double> &it() const
|
||||
const std::pair<double, double> it() const
|
||||
{
|
||||
if (!double_) return CGAL_POLYNOMIAL_TO_INTERVAL(nt_);
|
||||
return std::pair<double,double>(d_, d_);
|
||||
|
|
|
|||
Loading…
Reference in New Issue