From 84c1b75d8d1fa2b4f5f6a672c59393aa70d5286d Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 26 Jun 2000 23:42:12 +0000 Subject: [PATCH] moved inline func out of instantiate ifdef --- src/libCom/cxxTemplates/resourceLib.h | 44 +++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) 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 () //