Commit 96954c5c authored by Stanisław Gepner's avatar Stanisław Gepner

Removing a for in a for

parent 4add9fbe
......@@ -234,20 +234,15 @@ public:
TMapFactoryIterator it;
for (it = getMapFactory()->begin(); it != getMapFactory()->end(); ++it)
{
pOut << std::endl << "Available classes: " << std::endl;
TMapFactoryIterator it;
for (it = getMapFactory()->begin(); it != getMapFactory()->end(); ++it)
pOut << " " << it->first;
if (it->second.m_desc != "")
{
pOut << " " << it->first;
if (it->second.m_desc != "")
{
pOut << ":" << std::endl << " "
<< it->second.m_desc << std::endl;
}
else
{
pOut << std::endl;
}
pOut << ":" << std::endl << " "
<< it->second.m_desc << std::endl;
}
else
{
pOut << std::endl;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment