diff --git a/src/osg/Referenced.cpp b/src/osg/Referenced.cpp index 711ec759d..00bc88267 100644 --- a/src/osg/Referenced.cpp +++ b/src/osg/Referenced.cpp @@ -23,11 +23,7 @@ static std::auto_ptr s_deleteHandler(0); void Referenced::setDeleteHandler(DeleteHandler* handler) { -#if defined(_MSC_VER) && (_MSC_VER <= 1200) // 1200 == VC++ 6.0 - s_deleteHandler = handler; -#else s_deleteHandler.reset(handler); -#endif } DeleteHandler* Referenced::getDeleteHandler()