diff options
Diffstat (limited to 'src/dotgroupcollaboration.cpp')
-rw-r--r-- | src/dotgroupcollaboration.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/dotgroupcollaboration.cpp b/src/dotgroupcollaboration.cpp index ecc937f..655a0e8 100644 --- a/src/dotgroupcollaboration.cpp +++ b/src/dotgroupcollaboration.cpp @@ -120,15 +120,10 @@ void DotGroupCollaboration::buildGraph(const GroupDef* gd) } // Add namespaces - if ( gd->getNamespaces() && gd->getNamespaces()->count() ) + for (const auto &def : gd->getNamespaces()) { - NamespaceSDict::Iterator defli(*gd->getNamespaces()); - NamespaceDef *def; - for (;(def=defli.current());++defli) - { - tmp_url = def->getReference()+"$"+def->getOutputFileBase()+Doxygen::htmlFileExtension; - addCollaborationMember( def, tmp_url, DotGroupCollaboration::tnamespace ); - } + tmp_url = def->getReference()+"$"+def->getOutputFileBase()+Doxygen::htmlFileExtension; + addCollaborationMember( def, tmp_url, DotGroupCollaboration::tnamespace ); } // Add files |