Skip to content
Snippets Groups Projects
Commit ee22afcd authored by Jan Travnicek's avatar Jan Travnicek
Browse files

fix not needed call to get on shared_ptr

parent 1056f53c
No related branches found
No related tags found
1 merge request!95Many clang-tidy fixes
Pipeline #40788 passed with warnings
......@@ -206,7 +206,7 @@ private:
void make_unique ( ) {
if ( unique ( ) ) return;
 
static_cast < std::shared_ptr < T > & > ( * this ) = std::shared_ptr < T > ( ext::clone ( * std::shared_ptr < T >::get ( ) ) );
static_cast < std::shared_ptr < T > & > ( * this ) = std::shared_ptr < T > ( ext::clone ( std::shared_ptr < T >::operator * ( ) ) );
}
 
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment