diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-12-25 16:45:25 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-12-25 16:45:25 -0500 |
commit | 86d3711fb7e06bd1e31ae6ad5fbac35fe17e5a3d (patch) | |
tree | 38548a07a32751da7f02587d6f4649e65c767f90 /Eigen/src/Core/PlainObjectBase.h | |
parent | 75b7d98665dd144c44d7a113c6613f5f998be626 (diff) |
remove EIGEN_REF_TO_TEMPORARY, clarify docs
Diffstat (limited to 'Eigen/src/Core/PlainObjectBase.h')
-rw-r--r-- | Eigen/src/Core/PlainObjectBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index 5b0169f72..3b23d04ad 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -526,7 +526,7 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type * data pointers. */ template<typename OtherDerived> - void _swap(DenseBase<OtherDerived> EIGEN_REF_TO_TEMPORARY other) + void _swap(DenseBase<OtherDerived> const & other) { enum { SwapPointers = internal::is_same<Derived, OtherDerived>::value && Base::SizeAtCompileTime==Dynamic }; internal::matrix_swap_impl<Derived, OtherDerived, bool(SwapPointers)>::run(this->derived(), other.const_cast_derived()); |