Skip to content

Commit

Permalink
Revert "CF::AutoPointer As function should be marked const, like GetC…
Browse files Browse the repository at this point in the history
…FObject"
  • Loading branch information
macmade committed Aug 2, 2015
1 parent 14b39b9 commit f604402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CF++/include/CF++/CFPP-AutoPointer.hpp
Expand Up @@ -61,7 +61,7 @@ namespace CF
virtual CFTypeRef GetCFObject( void ) const;

template< typename T >
T As( void ) const
T As( void )
{
return static_cast< T >( const_cast< void * >( this->GetCFObject() ) );
}
Expand Down

0 comments on commit f604402

Please sign in to comment.