fixed throw spec
This commit is contained in:
@@ -241,12 +241,12 @@ bool epicsThread::operator == (const epicsThread &rhs) const throw ()
|
||||
return (this->id == rhs.id);
|
||||
}
|
||||
|
||||
void epicsThread::suspendSelf ()
|
||||
void epicsThread::suspendSelf () throw ()
|
||||
{
|
||||
epicsThreadSuspendSelf ();
|
||||
}
|
||||
|
||||
void epicsThread::sleep (double seconds)
|
||||
void epicsThread::sleep (double seconds) throw ()
|
||||
{
|
||||
epicsThreadSleep (seconds);
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ class epicsThreadPrivate :
|
||||
private epicsThreadPrivateBase {
|
||||
public:
|
||||
epicsThreadPrivate ();
|
||||
~epicsThreadPrivate ();
|
||||
~epicsThreadPrivate () throw ();
|
||||
T * get () const throw ();
|
||||
void set (T *) throw ();
|
||||
private:
|
||||
@@ -211,19 +211,19 @@ inline epicsThreadPrivate<T>::epicsThreadPrivate ()
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline epicsThreadPrivate<T>::~epicsThreadPrivate ()
|
||||
inline epicsThreadPrivate<T>::~epicsThreadPrivate () throw ()
|
||||
{
|
||||
epicsThreadPrivateDelete ( this->id );
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline T *epicsThreadPrivate<T>::get () const
|
||||
inline T *epicsThreadPrivate<T>::get () const throw ()
|
||||
{
|
||||
return static_cast<T *> ( epicsThreadPrivateGet (this->id) );
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline void epicsThreadPrivate<T>::set (T *pIn)
|
||||
inline void epicsThreadPrivate<T>::set (T *pIn) throw ()
|
||||
{
|
||||
epicsThreadPrivateSet ( this->id, static_cast<void *> (pIn) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user