fixed warnings

This commit is contained in:
Jeff Hill
1998-05-05 16:29:58 +00:00
parent 4b1237cda7
commit 2444ab3036
4 changed files with 20 additions and 14 deletions
+6 -3
View File
@@ -29,6 +29,9 @@
*
* History
* $Log$
* Revision 1.7 1997/08/05 00:47:07 jhill
* fixed warnings
*
* Revision 1.6 1997/04/10 19:34:07 jhill
* API changes
*
@@ -213,13 +216,13 @@ void casEventRegistry::show(unsigned level) const
//
casEventMaskEntry::casEventMaskEntry(
casEventRegistry &regIn, casEventMask maskIn, const char *pName) :
reg(regIn), casEventMask (maskIn), stringId (pName)
casEventMask (maskIn), stringId (pName), reg (regIn)
{
int stat;
assert(this->resourceName()!=NULL);
assert (this->resourceName()!=NULL);
stat = this->reg.add(*this);
assert(stat==0);
assert (stat==0);
}
//
+8 -8
View File
@@ -18,15 +18,15 @@
//
class casDGReadReg : public fdReg {
public:
casDGReadReg (casDGIntfOS &osIn) :
os (osIn), fdReg (osIn.getFD(), fdrRead) {}
~casDGReadReg ();
void show (unsigned level) const;
casDGReadReg (casDGIntfOS &osIn) :
fdReg (osIn.getFD(), fdrRead), os (osIn) {}
~casDGReadReg ();
void show (unsigned level) const;
private:
casDGIntfOS &os;
void callBack ();
casDGIntfOS &os;
void callBack ();
};
+1 -1
View File
@@ -19,7 +19,7 @@
class casServerReg : public fdReg {
public:
casServerReg (casIntfOS &osIn) :
os (osIn), fdReg (osIn.getFD(), fdrRead) {}
fdReg (osIn.getFD(), fdrRead), os (osIn) {}
~casServerReg ();
private:
casIntfOS &os;
+5 -2
View File
@@ -4,6 +4,9 @@
//
//
// $Log$
// Revision 1.7 1997/08/05 00:47:21 jhill
// fixed warnings
//
// Revision 1.6 1997/06/30 22:54:34 jhill
// use %p with pointers
//
@@ -58,7 +61,7 @@ private:
// casStreamReadReg::casStreamReadReg()
//
inline casStreamReadReg::casStreamReadReg (casStreamOS &osIn) :
os (osIn), fdReg (osIn.getFD(), fdrRead)
fdReg (osIn.getFD(), fdrRead), os (osIn)
{
# if defined(DEBUG)
printf ("Read on %d\n", this->os.getFD());
@@ -103,7 +106,7 @@ private:
// casStreamWriteReg::casStreamWriteReg()
//
inline casStreamWriteReg::casStreamWriteReg (casStreamOS &osIn) :
os (osIn), fdReg (osIn.getFD(), fdrWrite, TRUE)
fdReg (osIn.getFD(), fdrWrite, TRUE), os (osIn)
{
# if defined(DEBUG)
printf ("Write on %d\n", this->os.getFD());