By using a shared_ptr to that resource.
But if i take it by const reference, how do i prevent the original object from deleting the resource upon destruction?
It might be good if you would show some more of your code for some more specific help. Also make sure you know about, or learn, the rule of three. And for bonus points, this site has an excellent selection of articles about the nuances of C++: http://www.gotw.ca/gotw/