make some changes to please clang, fix some warnings too.

This commit is contained in:
Thomas Capricelli
2010-01-04 23:21:04 +01:00
parent 95d9cb77f8
commit 57275b2b8c
9 changed files with 15 additions and 11 deletions

View File

@@ -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; }
};

View File

@@ -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>
{