moved inline func out of instantiate ifdef

This commit is contained in:
Jeff Hill
2000-06-26 23:42:12 +00:00
parent 2bae9d1f21
commit 84c1b75d8d

View File

@@ -799,6 +799,28 @@ inline const char * stringId::resourceName () const
return this->pStr;
}
//
// const unsigned stringId::minIndexBitWidth ()
//
// this limit is based on limitations in the hash
// function below
//
inline const unsigned stringId::minIndexBitWidth ()
{
return 8;
}
//
// const unsigned stringId::maxIndexBitWidth ()
//
// see comments related to this limit in the hash
// function below
//
inline const unsigned stringId::maxIndexBitWidth ()
{
return 16;
}
#ifdef instantiateRecourceLib
//
@@ -823,28 +845,6 @@ stringId::stringId (const char * idIn, allocationType typeIn) :
}
}
//
// const unsigned stringId::minIndexBitWidth ()
//
// this limit is based on limitations in the hash
// function below
//
inline const unsigned stringId::minIndexBitWidth ()
{
return 8;
}
//
// const unsigned stringId::maxIndexBitWidth ()
//
// see comments related to this limit in the hash
// function below
//
inline const unsigned stringId::maxIndexBitWidth ()
{
return 16;
}
//
// stringId::show ()
//