summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 15a95f5..9651e33 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -2039,7 +2039,10 @@ void MemberDef::setAnchor(const char *a)
a=a;
QCString memAnchor = name();
if (!args.isEmpty()) memAnchor+=args;
- //anc = escapeAnchor(memAnchor);
+
+ // include definition as well, to distinguish between two template
+ // specializations that only differ in the template parameters.
+ memAnchor.prepend(definition());
// convert to md5 hash
uchar md5_sig[16];