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

Restored SharedPointer::swap for host.

parent 33235efe
No related branches found
No related tags found
Loading
......@@ -208,6 +208,11 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer
this->free();
}
void swap( ThisType& ptr2 )
{
std::swap( this->pd, ptr2.pd );
}
~SharedPointer()
{
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