diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-30 21:45:15 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-30 21:45:15 (GMT) |
commit | ffbdca2b84b06ea93888781f9a5cc201f6c9ddfd (patch) | |
tree | 95ad115afc554a8571e54ac0353eb710ec05b302 /Source/cmVTKMakeInstantiatorCommand.cxx | |
parent | 06a6136b257ef26973c7c8778512ecb0ae707a6e (diff) | |
download | CMake-ffbdca2b84b06ea93888781f9a5cc201f6c9ddfd.zip CMake-ffbdca2b84b06ea93888781f9a5cc201f6c9ddfd.tar.gz CMake-ffbdca2b84b06ea93888781f9a5cc201f6c9ddfd.tar.bz2 |
ENH: replace freeze with delete
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r-- | Source/cmVTKMakeInstantiatorCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |