diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-09-09 09:51:20 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-09-09 09:51:20 (GMT) |
commit | 1e373422387e8c1131f887efb47cf3da6459e2ac (patch) | |
tree | 7be906fa7ab6bb3830ed9a92e9487a3bf45927c8 /src/util.cpp | |
parent | be7ce5002af548f01debf40d90640a3a28346f0a (diff) | |
download | Doxygen-1e373422387e8c1131f887efb47cf3da6459e2ac.zip Doxygen-1e373422387e8c1131f887efb47cf3da6459e2ac.tar.gz Doxygen-1e373422387e8c1131f887efb47cf3da6459e2ac.tar.bz2 |
Doxygen didn't allow @ref to parameters of type reference to an array.
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index cf1c1f1..e67e9fb 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1872,7 +1872,8 @@ int findParameterList(const QString &name) } else { - return bracePos; + int bp = bracePos>0 ? name.findRev('(',bracePos-1) : -1; + return bp==-1 ? bracePos : bp; } } } while (pos!=-1); |