Explorar o código

Fixed wrong ordering of ctkServiceRefernce objects.

Sascha Zelzer %!s(int64=14) %!d(string=hai) anos
pai
achega
c5efd16db2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Libs/PluginFramework/ctkServiceReference.cpp

+ 1 - 1
Libs/PluginFramework/ctkServiceReference.cpp

@@ -127,7 +127,7 @@ bool ctkServiceReference::operator<(const ctkServiceReference& reference) const
   if (r1 != r2)
   {
     // use ranking if ranking differs
-    return r1 < r2 ? false : true;
+    return r1 < r2;
   }
   else
   {