summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/namespacedef.h')
-rw-r--r--src/namespacedef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namespacedef.h b/src/namespacedef.h
index bcfee88..514d250 100644
--- a/src/namespacedef.h
+++ b/src/namespacedef.h
@@ -57,14 +57,14 @@ class NamespaceDef : public Definition
void addUsingDeclaration(ClassDef *cd);
ClassList *getUsedClasses() const { return usingDeclList; }
- bool isLinkableInProject()
+ bool isLinkableInProject() const
{
int i = name().findRev("::");
if (i==-1) i=0; else i+=2;
return !name().isEmpty() && name().at(i)!='@' &&
hasDocumentation() && !isReference();
}
- bool isLinkable()
+ bool isLinkable() const
{
return isLinkableInProject() || isReference();
}