removed const cast away

This commit is contained in:
Jeff Hill
1999-01-29 22:36:53 +00:00
parent 4eea4c5dbe
commit f9ea4c847d
2 changed files with 12 additions and 2 deletions

View File

@@ -29,6 +29,10 @@
*
* History
* $Log$
* Revision 1.19 1998/10/23 19:23:46 jhill
* fixed problem associated with deleting "const char *"
* on the solaris compiler
*
* Revision 1.18 1998/10/23 00:20:40 jhill
* attempted to clean up HP-UX warnings
*
@@ -698,7 +702,8 @@ stringId::~stringId()
// is the same as deleting a pointer to
// "const char" on all compilers
//
delete [] (char * const) this->pStr;
//delete [] (char * const) this->pStr;
delete [] this->pStr;
}
}
}

View File

@@ -29,6 +29,10 @@
*
* History
* $Log$
* Revision 1.19 1998/10/23 19:23:46 jhill
* fixed problem associated with deleting "const char *"
* on the solaris compiler
*
* Revision 1.18 1998/10/23 00:20:40 jhill
* attempted to clean up HP-UX warnings
*
@@ -698,7 +702,8 @@ stringId::~stringId()
// is the same as deleting a pointer to
// "const char" on all compilers
//
delete [] (char * const) this->pStr;
//delete [] (char * const) this->pStr;
delete [] this->pStr;
}
}
}