~ubuntu-branches/ubuntu/vivid/openwalnut/vivid

« back to all changes in this revision

Viewing changes to src/core/common/WPropertyBase.h

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-05-24 03:12:03 UTC
  • Revision ID: package-import@ubuntu.com-20130524031203-l5g1lzm1vd83fupi
Tags: 1.3.1+hg5849-1ubuntu1
Cherrypick boost1.53 pointer cast fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
349
349
template< typename T >
350
350
boost::shared_ptr< WPropertyVariable< T > > WPropertyBase::toPropertyVariable()
351
351
{
352
 
    return boost::shared_dynamic_cast< WPropertyVariable< T > >( shared_from_this() );
 
352
    return boost::dynamic_pointer_cast< WPropertyVariable< T > >( shared_from_this() );
353
353
}
354
354
 
355
355
#endif  // WPROPERTYBASE_H