Removed some redundant code from tsmartptr.h.