Minor warning fix for SGI MIPSPro (Kevin Wheatley)

[SVN r31113]
This commit is contained in:
Peter Dimov
2005-09-25 22:00:31 +00:00
parent 7880720bc1
commit 92a027fbeb

View File

@ -87,10 +87,19 @@ template<class T, class Y> void sp_enable_shared_from_this( shared_count const &
if(pe != 0) pe->_internal_weak_this._internal_assign(const_cast<Y*>(px), pn);
}
#ifdef sgi
// Turn off: the last argument of the varargs function "sp_enable_shared_from_this" is unnamed
# pragma set woff 3506
#endif
inline void sp_enable_shared_from_this( shared_count const & /*pn*/, ... )
{
}
#ifdef sgi
# pragma reset woff 3506
#endif
} // namespace detail