summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-20 17:50:41 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-02-20 19:17:52 (GMT)
commitcfdea8320f089c0f25fe72ecfb7ede76e39110d8 (patch)
tree11ba92461fb70accabfdc6b89163f0bccb1a69bc /src/classdef.cpp
parenta59cd278932b11820dde87e764052622aa38980b (diff)
downloadDoxygen-cfdea8320f089c0f25fe72ecfb7ede76e39110d8.zip
Doxygen-cfdea8320f089c0f25fe72ecfb7ede76e39110d8.tar.gz
Doxygen-cfdea8320f089c0f25fe72ecfb7ede76e39110d8.tar.bz2
Disable qregex.h and fix some warnings and issues
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 9636d97..3e602b0 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1627,7 +1627,7 @@ void ClassDefImpl::writeInheritanceGraph(OutputList &ol) const
if (!m_impl->inherits.empty())
{
- auto replaceFunc = [this](OutputList &ol,size_t entryIndex)
+ auto replaceFunc = [this,&ol](size_t entryIndex)
{
BaseClassDef &bcd=m_impl->inherits[entryIndex];
ClassDef *cd=bcd.classDef;
@@ -1662,7 +1662,7 @@ void ClassDefImpl::writeInheritanceGraph(OutputList &ol) const
if (!m_impl->inheritedBy.empty())
{
- auto replaceFunc = [this](OutputList &ol,size_t entryIndex)
+ auto replaceFunc = [this,&ol](size_t entryIndex)
{
BaseClassDef &bcd=m_impl->inheritedBy[entryIndex];
ClassDef *cd=bcd.classDef;