summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmVTKMakeInstantiatorCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx
index 79e6544..cff1f00 100644
--- a/Source/cmVTKMakeInstantiatorCommand.cxx
+++ b/Source/cmVTKMakeInstantiatorCommand.cxx
@@ -230,7 +230,7 @@ cmVTKMakeInstantiatorCommand
std::string
cmVTKMakeInstantiatorCommand::GenerateCreationFileName(unsigned int block)
{
- std::ostrstream nameStr;
+ std::strstream nameStr;
nameStr << m_ClassName.c_str() << block << ".cxx" << std::ends;
std::string result = nameStr.str();
nameStr.rdbuf()->freeze(0);