diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-10 20:22:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-10 20:22:15 (GMT) |
commit | 2ed458302d43a6385c310c685fa4174818f0b67e (patch) | |
tree | b264d98c9b1b4f65241b42f4ea1604ef691e1351 /src/util.cpp | |
parent | 994b081aac309954a7984929329fbcd5c5cf8883 (diff) | |
parent | 4477f858e13c1546b3efeff6264d4d2cc2e65d98 (diff) | |
download | Doxygen-2ed458302d43a6385c310c685fa4174818f0b67e.zip Doxygen-2ed458302d43a6385c310c685fa4174818f0b67e.tar.gz Doxygen-2ed458302d43a6385c310c685fa4174818f0b67e.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index fe3c65f..55dcc19 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -4283,7 +4283,7 @@ bool getDefs(const QCString &scName, int ni=namespaceName.findRev("::"); //printf("namespaceName=%s ni=%d\n",namespaceName.data(),ni); bool notInNS = tmd && ni==-1 && tmd->getNamespaceDef()==0 && (mScope.isEmpty() || mScope==tmd->name()); - bool sameNS = tmd && tmd->getNamespaceDef() && namespaceName.left(ni)==tmd->getNamespaceDef()->name(); + bool sameNS = tmd && tmd->getNamespaceDef() && namespaceName.left(ni)==tmd->getNamespaceDef()->name() && namespaceName.mid(ni+2)==tmd->name(); //printf("notInNS=%d sameNS=%d\n",notInNS,sameNS); if (tmd && tmd->isStrong() && // C++11 enum class (notInNS || sameNS) && |