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

List:       kde-commits
Subject:    kompare3_branch: kdesdk/kompare/libdiff2
From:       Jeff Snyder <jeff-kdecvs () caffeinated ! me ! uk>
Date:       2004-09-09 22:34:35
Message-ID: 20040909223435.7B90F1773 () office ! kde ! org
[Download RAW message or body]

CVS commit by je4d: 

small cleanup: we don't need operator>, only operator< (which is used for sorting)


  M +0 -7      diffmodel.cpp   1.55.4.3
  M +1 -1      diffmodel.h   1.36.2.4


--- kdesdk/kompare/libdiff2/diffmodel.cpp  #1.55.4.2:1.55.4.3
@@ -150,11 +150,4 @@ bool DiffModel::operator<( const DiffMod
 }
 
-/*bool DiffModel::operator>( const DiffModel& model )
-{
-        if ( localeAwareCompareBases( model ) > 0 )
-                return true;
-        return false;
-}*/
-
 int DiffModel::localeAwareCompareBases( const DiffModel& model )
 {

--- kdesdk/kompare/libdiff2/diffmodel.h  #1.36.2.3:1.36.2.4
@@ -104,5 +104,5 @@ public:
         DiffModel& operator=( const DiffModel& model );
         bool operator<( const DiffModel& model );
-//      bool operator>( const DiffModel& model );
+//      bool operator>const DiffModel& model );
 
         int localeAwareCompareBases( const DiffModel& model );


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

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