From ffbdca2b84b06ea93888781f9a5cc201f6c9ddfd Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 30 Apr 2002 17:45:15 -0400 Subject: ENH: replace freeze with delete --- Source/cmVTKMakeInstantiatorCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx index b1c8157..a8b3ed0 100644 --- a/Source/cmVTKMakeInstantiatorCommand.cxx +++ b/Source/cmVTKMakeInstantiatorCommand.cxx @@ -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; } -- cgit v0.12