COMP: Use cmOStringStream instead of std::ostringstream for the HP compiler.

This commit is contained in:
David Cole 2008-06-17 14:07:15 -04:00
parent aa53857f59
commit 5cd8c61db3
1 changed files with 3 additions and 3 deletions

View File

@ -578,7 +578,7 @@ CreateComponentDescription(cmCPackComponent *component) const
} }
else if (!component->InstallationTypes.empty()) else if (!component->InstallationTypes.empty())
{ {
std::ostringstream out; cmOStringStream out;
std::vector<cmCPackInstallationType *>::iterator installTypeIter; std::vector<cmCPackInstallationType *>::iterator installTypeIter;
for (installTypeIter = component->InstallationTypes.begin(); for (installTypeIter = component->InstallationTypes.begin();
installTypeIter != component->InstallationTypes.end(); installTypeIter != component->InstallationTypes.end();
@ -637,7 +637,7 @@ std::string cmCPackNSISGenerator::CreateSelectionDependenciesDescription
} }
visited.insert(component); visited.insert(component);
std::ostringstream out; cmOStringStream out;
std::vector<cmCPackComponent *>::iterator dependIt; std::vector<cmCPackComponent *>::iterator dependIt;
for (dependIt = component->Dependencies.begin(); for (dependIt = component->Dependencies.begin();
dependIt != component->Dependencies.end(); dependIt != component->Dependencies.end();
@ -668,7 +668,7 @@ std::string cmCPackNSISGenerator::CreateDeselectionDependenciesDescription
} }
visited.insert(component); visited.insert(component);
std::ostringstream out; cmOStringStream out;
std::vector<cmCPackComponent *>::iterator dependIt; std::vector<cmCPackComponent *>::iterator dependIt;
for (dependIt = component->ReverseDependencies.begin(); for (dependIt = component->ReverseDependencies.begin();
dependIt != component->ReverseDependencies.end(); dependIt != component->ReverseDependencies.end();