Commit 6942e2a5 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent 77350bff
......@@ -105,7 +105,8 @@ public:
template < typename T >
result_type operator()( const WValueSet< T >* const& vals ) const // NOLINT
{
boost::shared_ptr< std::vector< TargetType > > newVals = boost::shared_ptr< std::vector< TargetType > >( new std::vector< TargetType >( vals->size() ) );
boost::shared_ptr< std::vector< TargetType > > newVals =
boost::shared_ptr< std::vector< TargetType > >( new std::vector< TargetType >( vals->size() ) );
for( size_t i = 0; i < newVals->size(); ++i )
{
( *newVals )[i] = static_cast< TargetType >( vals->getScalar( i ) );
......
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