From ff1f10bea3e792cbc73f57483fe0b4dd913052b2 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 6 Aug 1999 21:27:33 +0000 Subject: [PATCH] fixed solaris compiler incompatibility --- src/cxxTemplates/resourceLib.h | 3 ++- src/libCom/cxxTemplates/resourceLib.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cxxTemplates/resourceLib.h b/src/cxxTemplates/resourceLib.h index 32d68bbad..f8119d5d5 100644 --- a/src/cxxTemplates/resourceLib.h +++ b/src/cxxTemplates/resourceLib.h @@ -764,7 +764,8 @@ stringIdentifier::stringIdentifier (const char // stringIdentifier::operator == () // template -inline bool stringIdentifier::operator == (const stringIdentifier &idIn) const +inline bool stringIdentifier::operator == + (const stringIdentifier &idIn) const { if (this->pStr!=NULL && idIn.pStr!=NULL) { return strcmp(this->pStr,idIn.pStr)==0; diff --git a/src/libCom/cxxTemplates/resourceLib.h b/src/libCom/cxxTemplates/resourceLib.h index 32d68bbad..f8119d5d5 100644 --- a/src/libCom/cxxTemplates/resourceLib.h +++ b/src/libCom/cxxTemplates/resourceLib.h @@ -764,7 +764,8 @@ stringIdentifier::stringIdentifier (const char // stringIdentifier::operator == () // template -inline bool stringIdentifier::operator == (const stringIdentifier &idIn) const +inline bool stringIdentifier::operator == + (const stringIdentifier &idIn) const { if (this->pStr!=NULL && idIn.pStr!=NULL) { return strcmp(this->pStr,idIn.pStr)==0;