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

List:       kde-commits
Subject:    KDE/kdevplatform/language/interfaces
From:       David Nolden <david.nolden.kde () art-master ! de>
Date:       2008-12-15 4:03:57
Message-ID: 1229313837.543574.10615.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 897033 by zwabel:

One more reference to a temporary


 M  +1 -1      iproblem.cpp  
 M  +1 -1      iproblem.h  


--- trunk/KDE/kdevplatform/language/interfaces/iproblem.cpp #897032:897033
@@ -51,7 +51,7 @@
     d_func_dynamic()->url = IndexedString(location.document().str());
 }
 
-const QStack< DocumentCursor > & Problem::locationStack() const
+QStack< DocumentCursor > Problem::locationStack() const
 {
     return QStack< DocumentCursor >();
 //     return d_func()->locationStack;
--- trunk/KDE/kdevplatform/language/interfaces/iproblem.h #897032:897033
@@ -82,7 +82,7 @@
      * Returns the stack of locations via which the error occurred.
      * @todo Make the location-stack functional again. Currently these functions don't do anything.
      */
-    const QStack<DocumentCursor>& locationStack() const;
+    QStack<DocumentCursor> locationStack() const;
     void addLocation(const DocumentCursor& cursor);
     void setLocationStack(const QStack<DocumentCursor>& locationStack);
     void clearLocationStack();
[prev in list] [next in list] [prev in thread] [next in thread] 

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