[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser
From:       Oliver Kellogg <okellogg () users ! sourceforge ! net>
Date:       2007-04-30 22:31:17
Message-ID: 1177972277.225688.32036.nullmailer () svn ! kde ! org
[Download RAW message or body]

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<Problem> 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 );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic