Removed inappropriate #ifdefs
This commit is contained in:
parent
6227aa6251
commit
61033103bc
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user