Browse Source

ENH: replace freeze with delete

Bill Hoffman 24 years ago
parent
commit
ffbdca2b84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmVTKMakeInstantiatorCommand.cxx

+ 1 - 1
Source/cmVTKMakeInstantiatorCommand.cxx

@@ -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;
 }
 }