]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/model/functor.txx
DFCH: Manual paint changes!
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / model / functor.txx
index 2c761358f1f489622e617ddfb68765097791eca5..0fdf49640b20a8ed6c7df54fa6074ce076dbbfc1 100644 (file)
@@ -2,7 +2,7 @@
  * @file functor.cxx
  * @brief Implements TFunctor class and it propose is Call_Back Functions
  * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
- * @date  2011-05-24
+ * @date  2011-06-02
 */
 
 namespace creaButtonContainer
@@ -29,7 +29,7 @@ namespace creaButtonContainer
            {
                  ( *pt2Object.*fpt )( buttonName );
            }//yrt
-           catch ( std::exception& e )
+           catch ( const std::exception& e )
            {
                  std::cerr<< "TConcreteFunctor< TClass >::operator()( const ButtonIDType &buttonName )"
                                  <<" exception: " << e.what( ) << std::endl;
@@ -45,7 +45,7 @@ namespace creaButtonContainer
            {
                  ( *pt2Object.*fpt )( buttonName );
            }//yrt
-           catch ( std::exception& e )
+           catch ( const std::exception& e )
            {
                  std::cerr<< "TConcreteFunctor< TClass >::Call( const ButtonIDType &buttonName )"
                                  <<" exception: " << e.what( ) << std::endl;