소스 검색

Fixed wrong ordering of ctkServiceRefernce objects.

Sascha Zelzer 14 년 전
부모
커밋
c5efd16db2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
   {