force virtual destructor

This commit is contained in:
Jeff Hill
1996-12-06 22:32:11 +00:00
parent f4784cafb5
commit 7543005120
2 changed files with 19 additions and 0 deletions

View File

@@ -29,6 +29,9 @@
*
* History
* $Log$
* Revision 1.3 1996/11/02 00:54:10 jhill
* many improvements
*
* Revision 1.2 1996/09/04 20:20:44 jhill
* removed sizeof(casEventMask::mask) for MSVISC++
*
@@ -197,3 +200,15 @@ void casEventRegistry::show(unsigned level)
this->mutex.osiUnlock();
}
//
// casEventMaskEntry::~casEventMaskEntry()
//
// empty destructor forces virtual
//
// (not inline so that we avoid duplication resulting
// in the object code created by some compilers)
//
casEventMaskEntry::~casEventMaskEntry()
{
}

View File

@@ -29,6 +29,9 @@
*
* History
* $Log$
* Revision 1.2 1996/11/02 00:54:11 jhill
* many improvements
*
* Revision 1.1.1.1 1996/06/20 00:28:16 jhill
* ca server installation
*
@@ -92,6 +95,7 @@ class casEventMaskEntry : public tsSLNode<casEventMaskEntry>,
public:
casEventMaskEntry (casEventMask maskIn, const char *pName) :
casEventMask (maskIn), stringId (pName) {}
virtual ~casEventMaskEntry();
void show (unsigned level)
{
this->casEventMask::show(level);