Commit 1335cc70 authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Fixed constructor detection bug

parent 3552dcb3
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
/*****************************************************************************
/*****************************************************************************
 *
 *
 * 
 * $Id$
 *
 *
 * Copyright (C) 1997-2002 by Dimitri van Heesch.
 * Copyright (C) 1997-2002 by Dimitri van Heesch.
 *
 *
@@ -2284,7 +2284,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
					    QCString tempName;
					    QCString tempName;
					    static QRegExp re("operator[^a-z_A-Z0-9]");
					    static QRegExp re("operator[^a-z_A-Z0-9]");
					    if (tempArg==-1) tempName=current->name; else tempName=current->name.left(tempArg);
					    if (tempArg==-1) tempName=current->name; else tempName=current->name.left(tempArg);
					    if ((current->type.isEmpty() && tempName.find(re)==-1) || 
					    if (/*(current->type.isEmpty() && tempName.find(re)==-1) || */
						 current->type.left(8)=="typedef "
						 current->type.left(8)=="typedef "
					       )
					       )
					    {
					    {