fixed solaris compiler incompatibility
This commit is contained in:
1 parent
8174323cca
commit
ff1f10bea3
2 files changed
+4
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user