mirror of https://github.com/CGAL/cgal
Remove const& for now (waiting for a better solution from Marc)
This commit is contained in:
parent
018929fecf
commit
3c8e50e1b2
|
|
@ -180,7 +180,7 @@ template<class R_> struct Compute_cartesian_coordinate {
|
||||||
#ifdef CGAL_CXX11
|
#ifdef CGAL_CXX11
|
||||||
typedef decltype(std::declval<const first_argument_type>()[0]) result_type;
|
typedef decltype(std::declval<const first_argument_type>()[0]) result_type;
|
||||||
#else
|
#else
|
||||||
typedef RT const& result_type;
|
typedef RT result_type;
|
||||||
// RT const& doesn't work with some LA (Eigen2 for instance) so we
|
// RT const& doesn't work with some LA (Eigen2 for instance) so we
|
||||||
// should use plain RT or find a way to detect this.
|
// should use plain RT or find a way to detect this.
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue