From kde-commits Mon Apr 30 22:31:17 2007 From: Oliver Kellogg Date: Mon, 30 Apr 2007 22:31:17 +0000 To: kde-commits Subject: KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser Message-Id: <1177972277.225688.32036.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=117797274930667 SVN commit 659860 by okellogg: Dirk's dazzling dashboard detect defect M +3 -1 driver.h --- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/driver.h #659859:659860 @@ -188,7 +188,9 @@ Q3ValueList problems( const QString& fileName ) const; bool hasMacro( const QString& name ) const { return m_macros.contains( name ); } - const Macro& macro( const QString& name ) const { return m_macros[ name ]; } + /* gcc4 says "returning reference to temporary": + const Macro& macro( const QString& name ) const { return m_macros[ name ]; } + */ Macro& macro( const QString& name ) { return m_macros[ name ]; } virtual void removeMacro( const QString& macroName );