[Uml-devel] branches/work/soc-umbrello/umbrello/clipboard

Andi Fischer andi.fischer at hispeed.ch
Sun May 1 16:59:27 UTC 2011


SVN commit 1230041 by fischer:

Krazy issue about 'const' operators fixed.

 M  +2 -4      idchangelog.cpp  
 M  +1 -1      idchangelog.h  


--- branches/work/soc-umbrello/umbrello/clipboard/idchangelog.cpp #1230040:1230041
@@ -4,14 +4,12 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2002-2008                                               *
+ *   copyright (C) 2002-2011                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 
 #include "idchangelog.h"
 
-#include <kdebug.h>
-
 /**
  * Constructor.
  */
@@ -50,7 +48,7 @@
 /**
  * Overloaded '==' operator.
  */
-bool IDChangeLog::operator==(const IDChangeLog& Other)
+bool IDChangeLog::operator==(const IDChangeLog& Other) const
 {
     Q_UNUSED(Other);
     /*It needs to be Implemented*/
--- branches/work/soc-umbrello/umbrello/clipboard/idchangelog.h #1230040:1230041
@@ -34,7 +34,7 @@
 
     IDChangeLog& operator=(const IDChangeLog& Other);
 
-    bool operator==(const IDChangeLog& Other);
+    bool operator==(const IDChangeLog& Other) const;
 
     void addIDChange(Uml::IDType OldID, Uml::IDType NewID);
 




More information about the umbrello-devel mailing list