From 5cd8c61db342b8b54cb39c5d6a37255702f4e047 Mon Sep 17 00:00:00 2001 From: David Cole Date: Tue, 17 Jun 2008 14:07:15 -0400 Subject: [PATCH] COMP: Use cmOStringStream instead of std::ostringstream for the HP compiler. --- Source/CPack/cmCPackNSISGenerator.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/CPack/cmCPackNSISGenerator.cxx b/Source/CPack/cmCPackNSISGenerator.cxx index 2dca0196e..3ad17b14e 100644 --- a/Source/CPack/cmCPackNSISGenerator.cxx +++ b/Source/CPack/cmCPackNSISGenerator.cxx @@ -578,7 +578,7 @@ CreateComponentDescription(cmCPackComponent *component) const } else if (!component->InstallationTypes.empty()) { - std::ostringstream out; + cmOStringStream out; std::vector::iterator installTypeIter; for (installTypeIter = component->InstallationTypes.begin(); installTypeIter != component->InstallationTypes.end(); @@ -637,7 +637,7 @@ std::string cmCPackNSISGenerator::CreateSelectionDependenciesDescription } visited.insert(component); - std::ostringstream out; + cmOStringStream out; std::vector::iterator dependIt; for (dependIt = component->Dependencies.begin(); dependIt != component->Dependencies.end(); @@ -668,7 +668,7 @@ std::string cmCPackNSISGenerator::CreateDeselectionDependenciesDescription } visited.insert(component); - std::ostringstream out; + cmOStringStream out; std::vector::iterator dependIt; for (dependIt = component->ReverseDependencies.begin(); dependIt != component->ReverseDependencies.end();