Loading src/functions/tnlTestFunction.h +2 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,8 @@ class tnlTestFunction bool setup( const tnlParameterContainer& parameters, const tnlString& prefix = "" ); const tnlTestFunction& operator = ( const tnlTestFunction& function ); #ifdef HAVE_NOT_CXX11 template< int XDiffOrder, int YDiffOrder, Loading src/implementation/core/arrays/tnlStaticArray1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ template< typename Element > template< typename Array > bool tnlStaticArray< 1, Element >::operator == ( const Array& array ) const { return( size == Array::size && data[ 0 ] == array[ 0 ] ); return( ( int ) size == ( int ) Array::size && data[ 0 ] == array[ 0 ] ); } template< typename Element > Loading src/implementation/core/arrays/tnlStaticArray2D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -182,7 +182,7 @@ template< typename Element > template< typename Array > bool tnlStaticArray< 2, Element >::operator == ( const Array& array ) const { return( size == Array::size && return( ( int ) size == ( int ) Array::size && data[ 0 ] == array[ 0 ] && data[ 1 ] == array[ 1 ] ); } Loading src/implementation/core/arrays/tnlStaticArray3D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ template< typename Element > template< typename Array > bool tnlStaticArray< 3, Element >::operator == ( const Array& array ) const { return( size == Array::size && return( ( int ) size == ( int ) Array::size && data[ 0 ] == array[ 0 ] && data[ 1 ] == array[ 1 ] && data[ 2 ] == array[ 2 ] ); Loading src/implementation/core/arrays/tnlStaticArray_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -136,7 +136,7 @@ template< int Size, typename Element > template< typename Array > bool tnlStaticArray< Size, Element >::operator == ( const Array& array ) const { if( size != Array::size ) if( ( int ) size != ( int ) Array::size ) return false; for( int i = 0; i < size; i++ ) if( data[ i ] != array[ i ] ) Loading Loading
src/functions/tnlTestFunction.h +2 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,8 @@ class tnlTestFunction bool setup( const tnlParameterContainer& parameters, const tnlString& prefix = "" ); const tnlTestFunction& operator = ( const tnlTestFunction& function ); #ifdef HAVE_NOT_CXX11 template< int XDiffOrder, int YDiffOrder, Loading
src/implementation/core/arrays/tnlStaticArray1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ template< typename Element > template< typename Array > bool tnlStaticArray< 1, Element >::operator == ( const Array& array ) const { return( size == Array::size && data[ 0 ] == array[ 0 ] ); return( ( int ) size == ( int ) Array::size && data[ 0 ] == array[ 0 ] ); } template< typename Element > Loading
src/implementation/core/arrays/tnlStaticArray2D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -182,7 +182,7 @@ template< typename Element > template< typename Array > bool tnlStaticArray< 2, Element >::operator == ( const Array& array ) const { return( size == Array::size && return( ( int ) size == ( int ) Array::size && data[ 0 ] == array[ 0 ] && data[ 1 ] == array[ 1 ] ); } Loading
src/implementation/core/arrays/tnlStaticArray3D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ template< typename Element > template< typename Array > bool tnlStaticArray< 3, Element >::operator == ( const Array& array ) const { return( size == Array::size && return( ( int ) size == ( int ) Array::size && data[ 0 ] == array[ 0 ] && data[ 1 ] == array[ 1 ] && data[ 2 ] == array[ 2 ] ); Loading
src/implementation/core/arrays/tnlStaticArray_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -136,7 +136,7 @@ template< int Size, typename Element > template< typename Array > bool tnlStaticArray< Size, Element >::operator == ( const Array& array ) const { if( size != Array::size ) if( ( int ) size != ( int ) Array::size ) return false; for( int i = 0; i < size; i++ ) if( data[ i ] != array[ i ] ) Loading