]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
These are small improvents to correct compilation onUnix.
authornds <nds@opencascade.com>
Wed, 25 Mar 2009 09:34:39 +0000 (09:34 +0000)
committernds <nds@opencascade.com>
Wed, 25 Mar 2009 09:34:39 +0000 (09:34 +0000)
src/SVTK/SVTK_Functor.h
src/SVTK/SVTK_View.cxx

index 87d787895357d834f5acdbdf00788ee98c69a1b7..6a70dfa04a21e4dbcca1f052f5db15923afbe085 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "SALOME_InteractiveObject.hxx"
 #include "SALOME_ListIO.hxx"
+#include "SALOME_ListIteratorOfListIO.hxx"
 
 #include <TColStd_MapOfTransient.hxx>
 
@@ -111,6 +112,9 @@ namespace SVTK
       }
       return false;
     }
+    
+  private:
+    TIsInList( const TIsInList<TActor>& ) {}
   };
 
 
index 676df5cc2711c957af206f967e4a01ab793497d9..4eb43136bc5cfd1efb7216badfb4499bbabf7aae 100644 (file)
@@ -166,9 +166,10 @@ SVTK_SignalHandler
   using namespace SVTK;
   SVTK_Selector* aSelector = myMainWindow->GetSelector();
   const SALOME_ListIO& aListIO = aSelector->StoredIObjects();
+  TIsInList<SALOME_Actor> aPredicate(aListIO);
 
   ForEachIfElse<SALOME_Actor>(anActors,
-                              TIsInList<SALOME_Actor>(aListIO),
+                              aPredicate,
                               THighlightAction(true),
                               THighlightAction(false));