summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/namespacedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 7acd463..b1d9722 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -79,7 +79,7 @@ class NamespaceDefImpl : public DefinitionMixin<NamespaceDefMutable>
virtual QCString localName() const;
virtual void setInline(bool isInline) { m_inline = isInline; }
virtual bool isConstantGroup() const { return CONSTANT_GROUP == m_type; }
- virtual bool isModule() const { return MODULE == m_type; }
+ virtual bool isModule() const { return NAMESPACE == m_type || MODULE == m_type; }
virtual bool isLibrary() const { return LIBRARY == m_type; }
virtual bool isInline() const { return m_inline; }
virtual bool isLinkableInProject() const;