ENH: replace freeze with delete

This commit is contained in:
Bill Hoffman 2002-04-30 17:45:15 -04:00
parent 06a6136b25
commit ffbdca2b84
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ cmVTKMakeInstantiatorCommand::GenerateCreationFileName(unsigned int block)
std::strstream nameStr;
nameStr << m_ClassName.c_str() << block << ".cxx" << std::ends;
std::string result = nameStr.str();
nameStr.rdbuf()->freeze(0);
delete [] nameStr.str();
return result;
}