X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_handle.h;h=393894cc0baf1e40ccf936d5857fac31146dbe20;hb=3723770807a40519ec0a3aec66ea94ed20c8849b;hp=0137f8fc8b8a4dfaaf24c0f6466ed077d313a5c6;hpb=c2e1e65c0f837dcdd34cf39a097ea85a4741c149;p=synfig.git diff --git a/ETL/trunk/ETL/_handle.h b/ETL/trunk/ETL/_handle.h index 0137f8f..393894c 100644 --- a/ETL/trunk/ETL/_handle.h +++ b/ETL/trunk/ETL/_handle.h @@ -224,7 +224,7 @@ public: swap(handle &x) { pointer ptr=x.obj; - x.obj=x.get(); + x.obj=obj; obj=ptr; return *this; } @@ -625,7 +625,7 @@ public: { assert(0); pointer ptr=x.obj; - x.obj=x.get(); + x.obj=obj; obj=ptr; return *this; } @@ -707,7 +707,7 @@ public: swap(loose_handle &x) { pointer ptr=x.obj; - x.obj=x.get(); + x.obj=obj; obj=ptr; return *this; }