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;
|
std::strstream nameStr;
|
||||||
nameStr << m_ClassName.c_str() << block << ".cxx" << std::ends;
|
nameStr << m_ClassName.c_str() << block << ".cxx" << std::ends;
|
||||||
std::string result = nameStr.str();
|
std::string result = nameStr.str();
|
||||||
nameStr.rdbuf()->freeze(0);
|
delete [] nameStr.str();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user