diff --git a/src/libCom/cxxTemplates/resourceLib.h b/src/libCom/cxxTemplates/resourceLib.h index d75456b14..02460d45c 100644 --- a/src/libCom/cxxTemplates/resourceLib.h +++ b/src/libCom/cxxTemplates/resourceLib.h @@ -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 () //