diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-11-15 19:53:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-11-15 19:53:28 (GMT) |
commit | 88fa344260802ddbbc7e248c7b4ca9fe66877815 (patch) | |
tree | 281f09acbe14a1a17e666228ec55fdc5bb123864 /src | |
parent | 517b439c2a991e8c938c35090c9fb06b972f530d (diff) | |
download | Doxygen-88fa344260802ddbbc7e248c7b4ca9fe66877815.zip Doxygen-88fa344260802ddbbc7e248c7b4ca9fe66877815.tar.gz Doxygen-88fa344260802ddbbc7e248c7b4ca9fe66877815.tar.bz2 |
Workaround for a compiler issue with gcc-5.4.0
Diffstat (limited to 'src')
-rw-r--r-- | src/dotgfxhierarchytable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotgfxhierarchytable.cpp b/src/dotgfxhierarchytable.cpp index 59ad2ac..a47cde0 100644 --- a/src/dotgfxhierarchytable.cpp +++ b/src/dotgfxhierarchytable.cpp @@ -159,7 +159,7 @@ void DotGfxHierarchyTable::addHierarchy(DotNode *n,const ClassDef *cd,ClassDefSe // bn->parents() ? bn->parents()->count() : 0 // ); //printf(" inserting %s (%p)\n",bClass->name().data(),bn); - m_usedNodes.insert({bClass->name().str(),std::move(bn)}); // add node to the used list + m_usedNodes.insert(std::make_pair(bClass->name().str(),std::move(bn))); // add node to the used list } if (visitedClasses.find(bClass)==visitedClasses.end() && !bClass->subClasses().empty()) { @@ -209,7 +209,7 @@ void DotGfxHierarchyTable::addClassList(const ClassSDict *cl,ClassDefSet &visite tmp_url.data()); DotNode *root = n.get(); - m_usedNodes.insert({cd->name().str(),std::move(n)}); + m_usedNodes.insert(std::make_pair(cd->name().str(),std::move(n))); m_rootNodes.push_back(root); if (visitedClasses.find(cd)==visitedClasses.end() && !cd->subClasses().empty()) { |