diff options
author | Thomas Capricelli <orzel@freehackers.org> | 2010-01-04 23:21:04 +0100 |
---|---|---|
committer | Thomas Capricelli <orzel@freehackers.org> | 2010-01-04 23:21:04 +0100 |
commit | 57275b2b8ccc5ce7be32f23517490f2d953db1a4 (patch) | |
tree | 156d6c0d2f9d29eed492dfdb38f352eb914950a4 /Eigen/src/Core/util | |
parent | 95d9cb77f8cf1782620ea49ed8d3a43968c4faf1 (diff) |
make some changes to please clang, fix some warnings too.
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r-- | Eigen/src/Core/util/Memory.h | 4 | ||||
-rw-r--r-- | Eigen/src/Core/util/XprHelper.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index ecc13dab4..bfc6ff686 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -407,10 +407,10 @@ public: ei_aligned_free( p ); } - bool operator!=(const aligned_allocator<T>& other) const + bool operator!=(const aligned_allocator<T>& ) const { return false; } - bool operator==(const aligned_allocator<T>& other) const + bool operator==(const aligned_allocator<T>& ) const { return true; } }; diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index 2a9feaeeb..e00ff3606 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -109,7 +109,7 @@ template<int _Rows, int _Cols> struct ei_size_at_compile_time * in order to avoid a useless copy */ -template<typename T, int Sparseness = ei_traits<T>::Flags&SparseBit> class ei_eval; +template<typename T, int Sparseness = ei_traits<T>::Flags&SparseBit> struct ei_eval; template<typename T> struct ei_eval<T,IsDense> { |