ENH: replace freeze with delete
This commit is contained in:
parent
06a6136b25
commit
ffbdca2b84
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue