diff options
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r-- | Source/cmVTKMakeInstantiatorCommand.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx index a8b3ed0..d649117 100644 --- a/Source/cmVTKMakeInstantiatorCommand.cxx +++ b/Source/cmVTKMakeInstantiatorCommand.cxx @@ -216,10 +216,9 @@ cmVTKMakeInstantiatorCommand std::string cmVTKMakeInstantiatorCommand::GenerateCreationFileName(unsigned int block) { - std::strstream nameStr; - nameStr << m_ClassName.c_str() << block << ".cxx" << std::ends; + cmStringStream nameStr; + nameStr << m_ClassName.c_str() << block << ".cxx"; std::string result = nameStr.str(); - delete [] nameStr.str(); return result; } |