summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKMakeInstantiatorCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-30 21:45:15 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-30 21:45:15 (GMT)
commitffbdca2b84b06ea93888781f9a5cc201f6c9ddfd (patch)
tree95ad115afc554a8571e54ac0353eb710ec05b302 /Source/cmVTKMakeInstantiatorCommand.cxx
parent06a6136b257ef26973c7c8778512ecb0ae707a6e (diff)
downloadCMake-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.cxx2
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;
}