Removed inappropriate #ifdefs

This commit is contained in:
Robert Osfield 2004-08-13 10:49:45 +00:00
parent 6227aa6251
commit 61033103bc

View File

@ -23,11 +23,7 @@ static std::auto_ptr<DeleteHandler> s_deleteHandler(0);
void Referenced::setDeleteHandler(DeleteHandler* handler) void Referenced::setDeleteHandler(DeleteHandler* handler)
{ {
#if defined(_MSC_VER) && (_MSC_VER <= 1200) // 1200 == VC++ 6.0
s_deleteHandler = handler;
#else
s_deleteHandler.reset(handler); s_deleteHandler.reset(handler);
#endif
} }
DeleteHandler* Referenced::getDeleteHandler() DeleteHandler* Referenced::getDeleteHandler()