summaryrefslogtreecommitdiffstats
path: root/src/context.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-11-18 14:00:59 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-11-18 14:23:28 (GMT)
commitf0cc0f5da51faddd490c2cf358614b4ab70cc8ac (patch)
treed88c647365010677b4c4f6353e0e03e0daea6f33 /src/context.cpp
parent8ff99363c2f6b3226fe5b57f38ae1d4805dca22c (diff)
downloadDoxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.zip
Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.tar.gz
Doxygen-f0cc0f5da51faddd490c2cf358614b4ab70cc8ac.tar.bz2
Minor restructuring
Diffstat (limited to 'src/context.cpp')
-rw-r--r--src/context.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/context.cpp b/src/context.cpp
index 40fa6ef..405d0b5 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -2751,7 +2751,9 @@ class NamespaceContext::Private : public DefinitionContext<NamespaceContext::Pri
ClassDef *cd;
for (sdi.toFirst();(cd=sdi.current());++sdi)
{
- if (sliceOpt && (cd->isStruct() || cd->isInterface() || cd->isException()))
+ if (sliceOpt && (cd->compoundType()==ClassDef::Struct ||
+ cd->compoundType()==ClassDef::Interface ||
+ cd->compoundType()==ClassDef::Exception))
{
continue; // These types appear in their own sections.
}