mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
ENH: replace freeze with delete
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user