Skip to content
Snippets Groups Projects
Commit ff78a46c authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Merge branch 'periodic-bc' into develop

parents 5cf39e83 171d3c9d
No related branches found
No related tags found
No related merge requests found
...@@ -212,6 +212,11 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer ...@@ -212,6 +212,11 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer
this->free(); this->free();
} }
void swap( ThisType& ptr2 )
{
std::swap( this->pd, ptr2.pd );
}
~SharedPointer() ~SharedPointer()
{ {
this->free(); this->free();
......
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