fixed solaris compiler incompatibility

This commit is contained in:
Jeff Hill
1999-08-06 21:27:33 +00:00
parent 8174323cca
commit ff1f10bea3
2 changed files with 4 additions and 2 deletions

View File

@@ -764,7 +764,8 @@ stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH>::stringIdentifier (const char
// stringIdentifier::operator == ()
//
template <unsigned MAX_INDEX_WIDTH, unsigned MIN_INDEX_WIDTH>
inline bool stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH>::operator == (const stringIdentifier &idIn) const
inline bool stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH>::operator ==
(const stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH> &idIn) const
{
if (this->pStr!=NULL && idIn.pStr!=NULL) {
return strcmp(this->pStr,idIn.pStr)==0;

View File

@@ -764,7 +764,8 @@ stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH>::stringIdentifier (const char
// stringIdentifier::operator == ()
//
template <unsigned MAX_INDEX_WIDTH, unsigned MIN_INDEX_WIDTH>
inline bool stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH>::operator == (const stringIdentifier &idIn) const
inline bool stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH>::operator ==
(const stringIdentifier<MAX_INDEX_WIDTH, MIN_INDEX_WIDTH> &idIn) const
{
if (this->pStr!=NULL && idIn.pStr!=NULL) {
return strcmp(this->pStr,idIn.pStr)==0;