remove unused variable 'lhs and rhs'

parent 470f9738
Pipeline #10170 passed with stage
in 161 minutes and 59 seconds
......@@ -100,15 +100,16 @@ namespace walberla {
};
template< typename Index_T >
bool operator==( const ListOnGpu<Index_T> & lhs, const ListOnGpu<Index_T> & rhs )
bool operator==( const ListOnGpu<Index_T> & /*lhs*/, const ListOnGpu<Index_T> & /*rhs*/ )
{
return false;
}
template< typename ListOnCPU, typename ListOnGPU >
void copyToGpu( const ListOnCPU & src, ListOnGPU & dst )
{
static_assert( std::is_same< typename ListOnCPU::index_t, typename ListOnGPU::index_t >::value, "" );
static_assert( std::is_same< typename ListOnCPU::index_t, typename ListOnGPU::index_t >::value, "Error in the type comparing of index_t" );
typedef typename ListOnCPU::index_t index_t;
......@@ -141,7 +142,7 @@ namespace walberla {
template< typename ListOnGPU, typename ListOnCPU>
void copyToCpu( const ListOnGPU & src, ListOnCPU & dst )
{
static_assert( std::is_same< typename ListOnCPU::index_t, typename ListOnGPU::index_t >::value, "" );
static_assert( std::is_same< typename ListOnCPU::index_t, typename ListOnGPU::index_t >::value, "Error in the type comparing of index_t" );
typedef typename ListOnCPU::index_t index_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment