Browse Source

eliminate a copying operation

pull/1/head
Dick Hollenbeck 15 years ago
parent
commit
f7a2283eae
  1. 2
      common/string.cpp

2
common/string.cpp

@ -42,7 +42,7 @@ int ReadDelimitedText( char* dest, char* source, int NbMaxChar )
*/
char* StrPurge( char* text )
{
const char whitespace[] = " \t\n\r\f\v";
static const char whitespace[] = " \t\n\r\f\v";
if( text )
{

Loading…
Cancel
Save