diff options
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r-- | src/groupdef.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp index e918b1f..9df3ae1 100644 --- a/src/groupdef.cpp +++ b/src/groupdef.cpp @@ -170,7 +170,8 @@ bool GroupDef::addClass(const ClassDef *cd) // add nested classes (e.g. A::B, A::C) after their parent (A) in // order of insertion QCString scope = qn.left(i); - int j=classSDict->findAt(scope); + int j=-1; + if (!scope.isEmpty()) j=classSDict->findAt(scope); if (j!=-1) { while (j<(int)classSDict->count() && |