fixed meyers warnings

This commit is contained in:
Jeff Hill
2001-01-11 21:39:15 +00:00
parent d8e1d92ab9
commit 8c0600b372
+5 -3
View File
@@ -27,13 +27,15 @@ public:
class invalidSemaphore {}; /* exception */
class noMemory {}; /* exception */
private:
osiEvent ( const osiEvent & );
osiEvent & operator = ( const osiEvent & );
semBinaryId id;
};
inline osiEvent::osiEvent ()
inline osiEvent::osiEvent () :
id ( semBinaryCreate (semEmpty) )
{
this->id = semBinaryCreate (semEmpty);
if (this->id==0) {
if ( this->id == 0 ) {
throwWithLocation ( noMemory () );
}
}