Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libcmis/ws-object-type.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ WSObjectType& WSObjectType::operator=( const WSObjectType& copy )
void WSObjectType::refresh( )
{
libcmis::ObjectTypePtr type = m_session->getType( m_id );
const WSObjectType* const other = dynamic_cast< WSObjectType* >( type.get( ) );
const auto other = dynamic_cast< const WSObjectType* >( type.get( ) );
if ( other != NULL )
*this = *other;
}
Expand Down
2 changes: 1 addition & 1 deletion src/libcmis/ws-object.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ libcmis::ObjectPtr WSObject::updateProperties(
void WSObject::refresh( )
{
libcmis::ObjectPtr object = m_session->getObject( getId( ) );
const WSObject* const other = dynamic_cast< WSObject* >( object.get( ) );
const auto other = dynamic_cast< const WSObject* >( object.get( ) );
if ( other != NULL )
*this = *other;
}
Expand Down