avoided some unneeded conversions of string::npos, minor cleanup of className

- string doesn't use any debug info, remove it
- restructured the macros to add in NoDebug macro versions to className,
  typeInfo.  Might be helpful with tackling the globals bootstrapping issue.
- HashTableName + StaticHashTableName - avoid lookup of debug switch when
  FULLDEBUG is not defined
This commit is contained in:
Mark Olesen
2009-01-09 15:15:21 +01:00
parent f0341171ff
commit b85c9a7487
12 changed files with 212 additions and 47 deletions

View File

@ -25,13 +25,10 @@ License
\*---------------------------------------------------------------------------*/
#include "string.H"
#include "debug.H"
#include "OSspecific.H"
/* * * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * * */
const char* const Foam::string::typeName = "string";
int Foam::string::debug(debug::debugSwitch(string::typeName, 0));
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //