diff --git a/include/ebcl/inline/Arrays.hh b/include/ebcl/inline/Arrays.hh index cfeb1b7..bbde951 100644 --- a/include/ebcl/inline/Arrays.hh +++ b/include/ebcl/inline/Arrays.hh @@ -204,7 +204,7 @@ inline T_Array< T >& T_Array< T >::resize( { if ( size > size_ ) { ensureCapacity( size ); - for ( auto i = size_ ; i < size_ ; i ++ ) { + for ( auto i = size_ ; i < size ; i ++ ) { ::new ( reinterpret_cast< char* >( &data_[ i ] ) ) T( ); } } @@ -220,7 +220,7 @@ inline T_Array< T >& T_Array< T >::resize( { if ( size > size_ ) { ensureCapacity( size ); - for ( auto i = size_ ; i < size_ ; i ++ ) { + for ( auto i = size_ ; i < size ; i ++ ) { ::new ( reinterpret_cast< char* >( &data_[ i ] ) ) T( value ); } }